using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace MyOffice.Migrations.Postgres.Migrations { /// public partial class Collation : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Name", table: "ItemGlobals", type: "text", nullable: false, collation: "my_ci_collation", oldClrType: typeof(string), oldType: "text"); migrationBuilder.AlterColumn( name: "Name", table: "Accounts", type: "text", nullable: false, collation: "my_ci_collation", oldClrType: typeof(string), oldType: "text"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Name", table: "ItemGlobals", type: "text", nullable: false, oldClrType: typeof(string), oldType: "text", oldCollation: "my_ci_collation"); migrationBuilder.AlterColumn( name: "Name", table: "Accounts", type: "text", nullable: false, oldClrType: typeof(string), oldType: "text", oldCollation: "my_ci_collation"); } } }