using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SpotiParty.Web.Migrations { /// public partial class Initial : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Users", columns: table => new { UserId = table.Column(type: "uuid", nullable: false), DisplayName = table.Column(type: "character varying(255)", maxLength: 255, nullable: false), RefreshToken = table.Column(type: "character varying(255)", maxLength: 255, nullable: false) }, constraints: table => { table.PrimaryKey("PK_Users", x => x.UserId); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Users"); } } }