aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-14 11:09:39 +0200
committertranstrike <transtrike@gmail.com>2021-01-14 11:09:39 +0200
commite20e89e83c73864d5dc3615733836a1f1d1565c6 (patch)
treef081b55bc94ebf118f040d4745978de06aebc71e /src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
parentff79c9b4d08597368b869b38823ca04e70f5446d (diff)
downloadDevHive-e20e89e83c73864d5dc3615733836a1f1d1565c6.tar
DevHive-e20e89e83c73864d5dc3615733836a1f1d1565c6.tar.gz
DevHive-e20e89e83c73864d5dc3615733836a1f1d1565c6.zip
More formatting fixes
Diffstat (limited to 'src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs')
-rw-r--r--src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs b/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
index b952be5..a442bfa 100644
--- a/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
+++ b/src/DevHive.Data/Migrations/20201230154737_CommentMigration.cs
@@ -3,29 +3,29 @@ 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);
- });
- }
+ 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");
- }
- }
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "Comments");
+ }
+ }
}