From c2221e76a757bf6fd49bb4c8db4f082d37f1ecb7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 21 Jan 2021 10:36:27 +0200 Subject: Updated migrations --- .../Migrations/20201230154737_CommentMigration.cs | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs (limited to 'src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs') diff --git a/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs b/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs deleted file mode 100644 index a442bfa..0000000 --- a/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - -namespace DevHive.Data.Migrations -{ - public partial class CommentMigration : Migration - { - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Comments", - columns: table => new - { - Id = table.Column(type: "uuid", nullable: false), - UserId = table.Column(type: "uuid", nullable: false), - Message = table.Column(type: "text", nullable: true), - Date = table.Column(type: "timestamp without time zone", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Comments", x => x.Id); - }); - } - - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Comments"); - } - } -} -- cgit v1.2.3