init
This commit is contained in:
29
SecureBank.Database/Migrations/20240115132220_Migration4.cs
Normal file
29
SecureBank.Database/Migrations/20240115132220_Migration4.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SecureBank.Database.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Migration4 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "LockReason",
|
||||
table: "Accounts",
|
||||
type: "TEXT",
|
||||
maxLength: 1000,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LockReason",
|
||||
table: "Accounts");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user