using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DorkNet.Server.Migrations { /// public partial class WidenStoreItemSlug : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "LoadingScreenTips", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Title = table.Column(type: "TEXT", maxLength: 128, nullable: false), Message = table.Column(type: "TEXT", maxLength: 512, nullable: false), ImageName = table.Column(type: "TEXT", maxLength: 128, nullable: false), Context = table.Column(type: "INTEGER", nullable: false), PlatformMask = table.Column(type: "INTEGER", nullable: false), RoomNamesCsv = table.Column(type: "TEXT", maxLength: 512, nullable: false), SortOrder = table.Column(type: "INTEGER", nullable: false), IsActive = table.Column(type: "INTEGER", nullable: false), CreatedAt = table.Column(type: "TEXT", nullable: false), UpdatedAt = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_LoadingScreenTips", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "LoadingScreenTips"); } } }