diff options
| author | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-12-22 16:02:41 +0100 |
|---|---|---|
| committer | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-12-22 16:02:41 +0100 |
| commit | 1a96616699ab41bf6343bc1acc45a836c3e6caf3 (patch) | |
| tree | aff3d8bb8418355d3a8279024afaa13f196a0506 /CoreWiki/Migrations/20230209093124_initial.cs | |
| parent | 7fefe217c8462444ecb9806599e70afe2a7102ea (diff) | |
Backup
Diffstat (limited to 'CoreWiki/Migrations/20230209093124_initial.cs')
| -rw-r--r-- | CoreWiki/Migrations/20230209093124_initial.cs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/CoreWiki/Migrations/20230209093124_initial.cs b/CoreWiki/Migrations/20230209093124_initial.cs deleted file mode 100644 index 84a7453..0000000 --- a/CoreWiki/Migrations/20230209093124_initial.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace CoreWiki.Migrations -{ - /// <inheritdoc /> - public partial class initial : Migration - { - /// <inheritdoc /> - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Articles", - columns: table => new - { - Topic = table.Column<string>(type: "TEXT", nullable: false), - Published = table.Column<DateTime>(type: "TEXT", nullable: false), - Content = table.Column<string>(type: "TEXT", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Articles", x => x.Topic); - }); - } - - /// <inheritdoc /> - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Articles"); - } - } -} |
