using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassiApp.Data.Migrations
{
///
public partial class TransactionFeesAdded : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "TransactionFees",
columns: table => new
{
Id = table.Column(type: "TEXT", maxLength: 128, nullable: false),
PayInType = table.Column(type: "INTEGER", nullable: false),
Percent = table.Column(type: "TEXT", nullable: false),
Fixed = table.Column(type: "TEXT", nullable: false),
Version = table.Column(type: "BLOB", rowVersion: true, nullable: true),
UpdatedAt = table.Column(type: "INTEGER", nullable: false),
Deleted = table.Column(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_TransactionFees", x => x.Id);
});
System.Diagnostics.Debug.WriteLine($"Migration TransactionFeesAdded done");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "TransactionFees");
}
}
}