| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.AppDb
- {
- /// <inheritdoc />
- public partial class WidenTransactionIDForTossPaymentKey : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "TransactionID",
- table: "PaymentReconcileLog",
- type: "nvarchar(200)",
- maxLength: 200,
- nullable: true,
- oldClrType: typeof(string),
- oldType: "nvarchar(64)",
- oldMaxLength: 64,
- oldNullable: true);
- migrationBuilder.AlterColumn<string>(
- name: "TransactionID",
- table: "PaymentOrder",
- type: "nvarchar(200)",
- maxLength: 200,
- nullable: true,
- oldClrType: typeof(string),
- oldType: "nvarchar(64)",
- oldMaxLength: 64,
- oldNullable: true);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "TransactionID",
- table: "PaymentReconcileLog",
- type: "nvarchar(64)",
- maxLength: 64,
- nullable: true,
- oldClrType: typeof(string),
- oldType: "nvarchar(200)",
- oldMaxLength: 200,
- oldNullable: true);
- migrationBuilder.AlterColumn<string>(
- name: "TransactionID",
- table: "PaymentOrder",
- type: "nvarchar(64)",
- maxLength: 64,
- nullable: true,
- oldClrType: typeof(string),
- oldType: "nvarchar(200)",
- oldMaxLength: 200,
- oldNullable: true);
- }
- }
- }
|