32 lines
864 B
C#
32 lines
864 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace gehGassiApp.Data.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AppUserAutoPayoutAdded : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "AutoPayout",
|
|
table: "AppUsers",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
System.Diagnostics.Debug.WriteLine($"Migration AppUserAutoPayoutAdded done");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AutoPayout",
|
|
table: "AppUsers");
|
|
}
|
|
}
|
|
}
|