using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace NadekoBot.Migrations.PostgreSql { /// public partial class rakeback : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "rakeback", columns: table => new { userid = table.Column(type: "numeric(20,0)", nullable: false), amount = table.Column(type: "numeric", nullable: false) }, constraints: table => { table.PrimaryKey("pk_rakeback", x => x.userid); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "rakeback"); } } }