using Microsoft.EntityFrameworkCore.Migrations; namespace ChaosBot.Migrations { public partial class LodestoneFreeCompany : Migration { private const string Table = "LodestoneFreeCompany"; protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: Table, columns: table => new { LodestoneId = table.Column(nullable: false), DiscordGuildId = table.Column(nullable: false), Name = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_FCAndGuild", x => new {x.DiscordGuildId, x.LodestoneId}); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable(Table); } } }