|
|
@ -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) |
|
|
@ -78,6 +78,7 @@ namespace BookStore.Migrations |
|
|
RegexDescription = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), |
|
|
RegexDescription = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), |
|
|
Description = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), |
|
|
Description = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), |
|
|
ValueType = table.Column<int>(type: "int", nullable: false), |
|
|
ValueType = table.Column<int>(type: "int", nullable: false), |
|
|
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
}, |
|
|
}, |
|
|
@ -243,6 +244,7 @@ namespace BookStore.Migrations |
|
|
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), |
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
}, |
|
|
}, |
|
|
@ -287,9 +289,10 @@ namespace BookStore.Migrations |
|
|
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
UserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
UserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
ClientId = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|
|
ClientId = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|
|
IpAddresses = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), |
|
|
IpAddresses = table.Column<string>(type: "nvarchar(2048)", maxLength: 2048, nullable: true), |
|
|
SignedIn = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
SignedIn = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
LastAccessed = table.Column<DateTime>(type: "datetime2", nullable: true) |
|
|
LastAccessed = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
|
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
}, |
|
|
}, |
|
|
constraints: table => |
|
|
constraints: table => |
|
|
{ |
|
|
{ |