1- using System ;
2- using Microsoft . EntityFrameworkCore . Migrations ;
3-
4- #nullable disable
1+ #nullable disable
52
63namespace AspNetCoreTemplate . Data . Migrations
74{
5+ using System ;
6+
7+ using Microsoft . EntityFrameworkCore . Migrations ;
8+
89 /// <inheritdoc />
910 public partial class InitialCreate : Migration
1011 {
@@ -22,7 +23,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
2223 DeletedOn = table . Column < DateTime > ( type : "datetime2" , nullable : true ) ,
2324 Name = table . Column < string > ( type : "nvarchar(256)" , maxLength : 256 , nullable : true ) ,
2425 NormalizedName = table . Column < string > ( type : "nvarchar(256)" , maxLength : 256 , nullable : true ) ,
25- ConcurrencyStamp = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
26+ ConcurrencyStamp = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
2627 } ,
2728 constraints : table =>
2829 {
@@ -51,7 +52,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
5152 TwoFactorEnabled = table . Column < bool > ( type : "bit" , nullable : false ) ,
5253 LockoutEnd = table . Column < DateTimeOffset > ( type : "datetimeoffset" , nullable : true ) ,
5354 LockoutEnabled = table . Column < bool > ( type : "bit" , nullable : false ) ,
54- AccessFailedCount = table . Column < int > ( type : "int" , nullable : false )
55+ AccessFailedCount = table . Column < int > ( type : "int" , nullable : false ) ,
5556 } ,
5657 constraints : table =>
5758 {
@@ -69,7 +70,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
6970 CreatedOn = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
7071 ModifiedOn = table . Column < DateTime > ( type : "datetime2" , nullable : true ) ,
7172 IsDeleted = table . Column < bool > ( type : "bit" , nullable : false ) ,
72- DeletedOn = table . Column < DateTime > ( type : "datetime2" , nullable : true )
73+ DeletedOn = table . Column < DateTime > ( type : "datetime2" , nullable : true ) ,
7374 } ,
7475 constraints : table =>
7576 {
@@ -84,7 +85,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
8485 . Annotation ( "SqlServer:Identity" , "1, 1" ) ,
8586 RoleId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
8687 ClaimType = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
87- ClaimValue = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
88+ ClaimValue = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
8889 } ,
8990 constraints : table =>
9091 {
@@ -105,7 +106,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
105106 . Annotation ( "SqlServer:Identity" , "1, 1" ) ,
106107 UserId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
107108 ClaimType = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
108- ClaimValue = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
109+ ClaimValue = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
109110 } ,
110111 constraints : table =>
111112 {
@@ -125,7 +126,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
125126 LoginProvider = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
126127 ProviderKey = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
127128 ProviderDisplayName = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
128- UserId = table . Column < string > ( type : "nvarchar(450)" , nullable : false )
129+ UserId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
129130 } ,
130131 constraints : table =>
131132 {
@@ -143,7 +144,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
143144 columns : table => new
144145 {
145146 UserId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
146- RoleId = table . Column < string > ( type : "nvarchar(450)" , nullable : false )
147+ RoleId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
147148 } ,
148149 constraints : table =>
149150 {
@@ -169,7 +170,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
169170 UserId = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
170171 LoginProvider = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
171172 Name = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
172- Value = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
173+ Value = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
173174 } ,
174175 constraints : table =>
175176 {
0 commit comments