|
|
@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations; |
|
|
namespace BookStore.Migrations |
|
|
namespace BookStore.Migrations |
|
|
{ |
|
|
{ |
|
|
/// <inheritdoc />
|
|
|
/// <inheritdoc />
|
|
|
public partial class Initial : Migration |
|
|
public partial class initial : Migration |
|
|
{ |
|
|
{ |
|
|
/// <inheritdoc />
|
|
|
/// <inheritdoc />
|
|
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
|
@ -161,6 +161,7 @@ namespace BookStore.Migrations |
|
|
ParentId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
ParentId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
Code = table.Column<string>(type: "nvarchar(95)", maxLength: 95, nullable: false), |
|
|
Code = table.Column<string>(type: "nvarchar(95)", maxLength: 95, nullable: false), |
|
|
DisplayName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), |
|
|
DisplayName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), |
|
|
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
@ -241,6 +242,7 @@ namespace BookStore.Migrations |
|
|
IsDefault = table.Column<bool>(type: "bit", nullable: false), |
|
|
IsDefault = table.Column<bool>(type: "bit", nullable: false), |
|
|
IsStatic = table.Column<bool>(type: "bit", nullable: false), |
|
|
IsStatic = table.Column<bool>(type: "bit", nullable: false), |
|
|
IsPublic = table.Column<bool>(type: "bit", nullable: false), |
|
|
IsPublic = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
}, |
|
|
}, |
|
|
@ -295,6 +297,7 @@ namespace BookStore.Migrations |
|
|
{ |
|
|
{ |
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
@ -333,6 +336,7 @@ namespace BookStore.Migrations |
|
|
LockoutEnd = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), |
|
|
LockoutEnd = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), |
|
|
LockoutEnabled = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|
|
LockoutEnabled = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|
|
AccessFailedCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0), |
|
|
AccessFailedCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0), |
|
|
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |