| 123456789101112131415161718192021222324252627282930 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.AppDb
- {
- /// <inheritdoc />
- public partial class AddWalletBalanceRowVersion : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<byte[]>(
- name: "RowVersion",
- table: "WalletBalance",
- type: "rowversion",
- rowVersion: true,
- nullable: false,
- defaultValue: new byte[0]);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "RowVersion",
- table: "WalletBalance");
- }
- }
- }
|