using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DysonNetwork.Insight.Migrations { /// public partial class AddUnpaidAccounts : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "unpaid_accounts", columns: table => new { account_id = table.Column(type: "uuid", nullable: false), marked_at = table.Column(type: "timestamp with time zone", nullable: false) }, constraints: table => { table.PrimaryKey("pk_unpaid_accounts", x => x.account_id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "unpaid_accounts"); } } }