mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Code re-style.
This commit is contained in:
@@ -35,7 +35,8 @@ namespace Marechai.Database.Migrations
|
||||
{
|
||||
migrationBuilder.CreateTable("AspNetRoles", table => new
|
||||
{
|
||||
Id = table.Column<string>(), Name = table.Column<string>(maxLength: 256, nullable: true),
|
||||
Id = table.Column<string>(),
|
||||
Name = table.Column<string>(maxLength: 256, nullable: true),
|
||||
NormalizedName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
ConcurrencyStamp = table.Column<string>(nullable: true)
|
||||
}, constraints: table =>
|
||||
@@ -45,18 +46,21 @@ namespace Marechai.Database.Migrations
|
||||
|
||||
migrationBuilder.CreateTable("AspNetUsers", table => new
|
||||
{
|
||||
Id = table.Column<string>(),
|
||||
UserName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
NormalizedUserName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
Email = table.Column<string>(maxLength: 256, nullable: true),
|
||||
NormalizedEmail = table.Column<string>(maxLength: 256, nullable: true),
|
||||
EmailConfirmed = table.Column<bool>(), PasswordHash = table.Column<string>(nullable: true),
|
||||
SecurityStamp = table.Column<string>(nullable: true),
|
||||
ConcurrencyStamp = table.Column<string>(nullable: true),
|
||||
PhoneNumber = table.Column<string>(nullable: true), PhoneNumberConfirmed = table.Column<bool>(),
|
||||
TwoFactorEnabled = table.Column<bool>(),
|
||||
LockoutEnd = table.Column<DateTimeOffset>(nullable: true),
|
||||
LockoutEnabled = table.Column<bool>(), AccessFailedCount = table.Column<int>()
|
||||
Id = table.Column<string>(),
|
||||
UserName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
NormalizedUserName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
Email = table.Column<string>(maxLength: 256, nullable: true),
|
||||
NormalizedEmail = table.Column<string>(maxLength: 256, nullable: true),
|
||||
EmailConfirmed = table.Column<bool>(),
|
||||
PasswordHash = table.Column<string>(nullable: true),
|
||||
SecurityStamp = table.Column<string>(nullable: true),
|
||||
ConcurrencyStamp = table.Column<string>(nullable: true),
|
||||
PhoneNumber = table.Column<string>(nullable: true),
|
||||
PhoneNumberConfirmed = table.Column<bool>(),
|
||||
TwoFactorEnabled = table.Column<bool>(),
|
||||
LockoutEnd = table.Column<DateTimeOffset>(nullable: true),
|
||||
LockoutEnabled = table.Column<bool>(),
|
||||
AccessFailedCount = table.Column<int>()
|
||||
}, constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AspNetUsers", x => x.Id);
|
||||
@@ -66,7 +70,8 @@ namespace Marechai.Database.Migrations
|
||||
{
|
||||
Id = table.Column<int>().
|
||||
Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
|
||||
RoleId = table.Column<string>(), ClaimType = table.Column<string>(nullable: true),
|
||||
RoleId = table.Column<string>(),
|
||||
ClaimType = table.Column<string>(nullable: true),
|
||||
ClaimValue = table.Column<string>(nullable: true)
|
||||
}, constraints: table =>
|
||||
{
|
||||
@@ -80,7 +85,8 @@ namespace Marechai.Database.Migrations
|
||||
{
|
||||
Id = table.Column<int>().
|
||||
Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
|
||||
UserId = table.Column<string>(), ClaimType = table.Column<string>(nullable: true),
|
||||
UserId = table.Column<string>(),
|
||||
ClaimType = table.Column<string>(nullable: true),
|
||||
ClaimValue = table.Column<string>(nullable: true)
|
||||
}, constraints: table =>
|
||||
{
|
||||
@@ -94,12 +100,14 @@ namespace Marechai.Database.Migrations
|
||||
{
|
||||
LoginProvider = table.Column<string>(maxLength: 128),
|
||||
ProviderKey = table.Column<string>(maxLength: 128),
|
||||
ProviderDisplayName = table.Column<string>(nullable: true), UserId = table.Column<string>()
|
||||
ProviderDisplayName = table.Column<string>(nullable: true),
|
||||
UserId = table.Column<string>()
|
||||
}, constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AspNetUserLogins", x => new
|
||||
{
|
||||
x.LoginProvider, x.ProviderKey
|
||||
x.LoginProvider,
|
||||
x.ProviderKey
|
||||
});
|
||||
|
||||
table.ForeignKey("FK_AspNetUserLogins_AspNetUsers_UserId", x => x.UserId, "AspNetUsers", "Id",
|
||||
@@ -108,12 +116,14 @@ namespace Marechai.Database.Migrations
|
||||
|
||||
migrationBuilder.CreateTable("AspNetUserRoles", table => new
|
||||
{
|
||||
UserId = table.Column<string>(), RoleId = table.Column<string>()
|
||||
UserId = table.Column<string>(),
|
||||
RoleId = table.Column<string>()
|
||||
}, constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AspNetUserRoles", x => new
|
||||
{
|
||||
x.UserId, x.RoleId
|
||||
x.UserId,
|
||||
x.RoleId
|
||||
});
|
||||
|
||||
table.ForeignKey("FK_AspNetUserRoles_AspNetRoles_RoleId", x => x.RoleId, "AspNetRoles", "Id",
|
||||
@@ -125,13 +135,17 @@ namespace Marechai.Database.Migrations
|
||||
|
||||
migrationBuilder.CreateTable("AspNetUserTokens", table => new
|
||||
{
|
||||
UserId = table.Column<string>(), LoginProvider = table.Column<string>(maxLength: 128),
|
||||
Name = table.Column<string>(maxLength: 128), Value = table.Column<string>(nullable: true)
|
||||
UserId = table.Column<string>(),
|
||||
LoginProvider = table.Column<string>(maxLength: 128),
|
||||
Name = table.Column<string>(maxLength: 128),
|
||||
Value = table.Column<string>(nullable: true)
|
||||
}, constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AspNetUserTokens", x => new
|
||||
{
|
||||
x.UserId, x.LoginProvider, x.Name
|
||||
x.UserId,
|
||||
x.LoginProvider,
|
||||
x.Name
|
||||
});
|
||||
|
||||
table.ForeignKey("FK_AspNetUserTokens_AspNetUsers_UserId", x => x.UserId, "AspNetUsers", "Id",
|
||||
|
||||
Reference in New Issue
Block a user