Skip to content

Commit 2cd4fa0

Browse files
committed
Fix StyleCop warnings
1 parent 4bc1620 commit 2cd4fa0

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/Data/AspNetCoreTemplate.Data/Migrations/20220607060115_InitialCreate.cs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore.Migrations;
3-
4-
#nullable disable
1+
#nullable disable
52

63
namespace AspNetCoreTemplate.Data.Migrations
74
{
5+
using System;
6+
7+
using Microsoft.EntityFrameworkCore.Migrations;
8+
89
public partial class InitialCreate : Migration
910
{
1011
protected override void Up(MigrationBuilder migrationBuilder)
@@ -20,7 +21,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
2021
DeletedOn = table.Column<DateTime>(type: "datetime2", nullable: true),
2122
Name = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
2223
NormalizedName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
23-
ConcurrencyStamp = table.Column<string>(type: "nvarchar(max)", nullable: true)
24+
ConcurrencyStamp = table.Column<string>(type: "nvarchar(max)", nullable: true),
2425
},
2526
constraints: table =>
2627
{
@@ -49,7 +50,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
4950
TwoFactorEnabled = table.Column<bool>(type: "bit", nullable: false),
5051
LockoutEnd = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
5152
LockoutEnabled = table.Column<bool>(type: "bit", nullable: false),
52-
AccessFailedCount = table.Column<int>(type: "int", nullable: false)
53+
AccessFailedCount = table.Column<int>(type: "int", nullable: false),
5354
},
5455
constraints: table =>
5556
{
@@ -67,7 +68,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
6768
CreatedOn = table.Column<DateTime>(type: "datetime2", nullable: false),
6869
ModifiedOn = table.Column<DateTime>(type: "datetime2", nullable: true),
6970
IsDeleted = table.Column<bool>(type: "bit", nullable: false),
70-
DeletedOn = table.Column<DateTime>(type: "datetime2", nullable: true)
71+
DeletedOn = table.Column<DateTime>(type: "datetime2", nullable: true),
7172
},
7273
constraints: table =>
7374
{
@@ -82,7 +83,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
8283
.Annotation("SqlServer:Identity", "1, 1"),
8384
RoleId = table.Column<string>(type: "nvarchar(450)", nullable: false),
8485
ClaimType = table.Column<string>(type: "nvarchar(max)", nullable: true),
85-
ClaimValue = table.Column<string>(type: "nvarchar(max)", nullable: true)
86+
ClaimValue = table.Column<string>(type: "nvarchar(max)", nullable: true),
8687
},
8788
constraints: table =>
8889
{
@@ -103,7 +104,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
103104
.Annotation("SqlServer:Identity", "1, 1"),
104105
UserId = table.Column<string>(type: "nvarchar(450)", nullable: false),
105106
ClaimType = table.Column<string>(type: "nvarchar(max)", nullable: true),
106-
ClaimValue = table.Column<string>(type: "nvarchar(max)", nullable: true)
107+
ClaimValue = table.Column<string>(type: "nvarchar(max)", nullable: true),
107108
},
108109
constraints: table =>
109110
{
@@ -123,7 +124,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
123124
LoginProvider = table.Column<string>(type: "nvarchar(450)", nullable: false),
124125
ProviderKey = table.Column<string>(type: "nvarchar(450)", nullable: false),
125126
ProviderDisplayName = table.Column<string>(type: "nvarchar(max)", nullable: true),
126-
UserId = table.Column<string>(type: "nvarchar(450)", nullable: false)
127+
UserId = table.Column<string>(type: "nvarchar(450)", nullable: false),
127128
},
128129
constraints: table =>
129130
{
@@ -141,7 +142,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
141142
columns: table => new
142143
{
143144
UserId = table.Column<string>(type: "nvarchar(450)", nullable: false),
144-
RoleId = table.Column<string>(type: "nvarchar(450)", nullable: false)
145+
RoleId = table.Column<string>(type: "nvarchar(450)", nullable: false),
145146
},
146147
constraints: table =>
147148
{
@@ -167,7 +168,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
167168
UserId = table.Column<string>(type: "nvarchar(450)", nullable: false),
168169
LoginProvider = table.Column<string>(type: "nvarchar(450)", nullable: false),
169170
Name = table.Column<string>(type: "nvarchar(450)", nullable: false),
170-
Value = table.Column<string>(type: "nvarchar(max)", nullable: true)
171+
Value = table.Column<string>(type: "nvarchar(max)", nullable: true),
171172
},
172173
constraints: table =>
173174
{

0 commit comments

Comments
 (0)