using System; using Microsoft.EntityFrameworkCore.Migrations; namespace IOL.BookmarkThing.Server.Migrations { public partial class Initial_Migration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "users", columns: table => new { id = table.Column(type: "uuid", nullable: false), username = table.Column(type: "text", nullable: true), password = table.Column(type: "text", nullable: true), created = table.Column(type: "timestamp without time zone", nullable: false) }, constraints: table => { table.PrimaryKey("pk_users", x => x.id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "users"); } } }