using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SecureBank.Database.Migrations
{
///
public partial class Migration2 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Id",
table: "AccountPasswordIndexes",
type: "INTEGER",
nullable: false,
defaultValue: 0L)
.Annotation("Sqlite:Autoincrement", true);
migrationBuilder.AddPrimaryKey(
name: "PK_AccountPasswordIndexes",
table: "AccountPasswordIndexes",
column: "Id");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_AccountPasswordIndexes",
table: "AccountPasswordIndexes");
migrationBuilder.DropColumn(
name: "Id",
table: "AccountPasswordIndexes");
}
}
}