Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Migrations / 20201230154737_CommentMigration.cs
diff options
context:
space:
mode:
Commit13a2ceda912f961a232c87236f1b29aa29bb6160 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-21 22:13:16 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-21 22:13:16 +0200
Files59f8d2bf63b03bacc76f98114d2aed78e420ddcd /src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
DevHive-13a2ceda912f961a232c87236f1b29aa29bb6160.tar
DevHive-13a2ceda912f961a232c87236f1b29aa29bb6160.tar.gz
DevHive-13a2ceda912f961a232c87236f1b29aa29bb6160.zip
Parenta47ea20ab91017da53437f750ed8e0f939f5cdba (diff)
Parentbda98b96433d7a9952524fab4ec65f96998b55de (diff)
Merge branch 'refactor_user_updating' into dev
1 files changed, 0 insertions, 31 deletions
-rw-r--r--src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs31
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<Guid>(type: "uuid", nullable: false),
- UserId = table.Column<Guid>(type: "uuid", nullable: false),
- Message = table.Column<string>(type: "text", nullable: true),
- Date = table.Column<DateTime>(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");
- }
- }
-}