| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.IdentityDb
- {
- /// <inheritdoc />
- public partial class InitIdentity : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Name",
- table: "AspNetUserTokens",
- type: "nvarchar(450)",
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(128)",
- oldMaxLength: 128);
- migrationBuilder.AlterColumn<string>(
- name: "LoginProvider",
- table: "AspNetUserTokens",
- type: "nvarchar(450)",
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(128)",
- oldMaxLength: 128);
- migrationBuilder.AlterColumn<string>(
- name: "ProviderKey",
- table: "AspNetUserLogins",
- type: "nvarchar(450)",
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(128)",
- oldMaxLength: 128);
- migrationBuilder.AlterColumn<string>(
- name: "LoginProvider",
- table: "AspNetUserLogins",
- type: "nvarchar(450)",
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(128)",
- oldMaxLength: 128);
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Name",
- table: "AspNetUserTokens",
- type: "nvarchar(128)",
- maxLength: 128,
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(450)");
- migrationBuilder.AlterColumn<string>(
- name: "LoginProvider",
- table: "AspNetUserTokens",
- type: "nvarchar(128)",
- maxLength: 128,
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(450)");
- migrationBuilder.AlterColumn<string>(
- name: "ProviderKey",
- table: "AspNetUserLogins",
- type: "nvarchar(128)",
- maxLength: 128,
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(450)");
- migrationBuilder.AlterColumn<string>(
- name: "LoginProvider",
- table: "AspNetUserLogins",
- type: "nvarchar(128)",
- maxLength: 128,
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(450)");
- }
- }
- }
|