using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace yaflay.ru.Migrations { /// public partial class Migrate25122023926 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "ApiKeys", schema: "public", columns: table => new { Key = table.Column(type: "text", nullable: false), DiscordOwnerId = table.Column(type: "numeric(20,0)", nullable: false), Melon = table.Column(type: "text", nullable: false), Type = table.Column(type: "integer", nullable: false) }, constraints: table => { table.PrimaryKey("PK_ApiKeys", x => x.Key); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "ApiKeys", schema: "public"); } } }