using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace KfChatDotNetBot.Migrations { /// public partial class Settings : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Settings", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Key = table.Column(type: "TEXT", nullable: false), Value = table.Column(type: "TEXT", nullable: true), Regex = table.Column(type: "TEXT", nullable: false), Description = table.Column(type: "TEXT", nullable: false), Default = table.Column(type: "TEXT", nullable: true), IsSecret = table.Column(type: "INTEGER", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Settings", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Settings"); } } }