Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Migrations / 20201230154737_CommentMigration.cs
diff options
context:
space:
mode:
Commitc2221e76a757bf6fd49bb4c8db4f082d37f1ecb7 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-01-21 10:36:27 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-01-21 10:36:27 +0200
Filesc6e6e935c4f21cef4c3515e16c0217fd1303294b /src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
DevHive-c2221e76a757bf6fd49bb4c8db4f082d37f1ecb7.tar
DevHive-c2221e76a757bf6fd49bb4c8db4f082d37f1ecb7.tar.gz
DevHive-c2221e76a757bf6fd49bb4c8db4f082d37f1ecb7.zip
Parent0d4ec399e6c9246dd0d3050dda2c81043cf7f51d (diff)
Updated migrations
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");
- }
- }
-}