|
|
|
@ -23,8 +23,8 @@ namespace Migrations |
|
|
|
RegexDescription = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), |
|
|
|
Description = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), |
|
|
|
ValueType = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
@ -56,8 +56,8 @@ namespace Migrations |
|
|
|
Code = table.Column<string>(type: "nvarchar(95)", maxLength: 95, 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), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
|
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
|
|
@ -137,8 +137,8 @@ namespace Migrations |
|
|
|
IsStatic = 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), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
@ -162,14 +162,34 @@ namespace Migrations |
|
|
|
ClientIpAddress = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|
|
|
BrowserInfo = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), |
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
table.PrimaryKey("PK_AbpSecurityLogs", x => x.Id); |
|
|
|
}); |
|
|
|
|
|
|
|
migrationBuilder.CreateTable( |
|
|
|
name: "AbpSettingDefinitions", |
|
|
|
columns: table => new |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), |
|
|
|
DisplayName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false), |
|
|
|
Description = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), |
|
|
|
DefaultValue = table.Column<string>(type: "nvarchar(2048)", maxLength: 2048, nullable: true), |
|
|
|
IsVisibleToClients = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
Providers = table.Column<string>(type: "nvarchar(1024)", maxLength: 1024, nullable: true), |
|
|
|
IsInherited = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
IsEncrypted = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id); |
|
|
|
}); |
|
|
|
|
|
|
|
migrationBuilder.CreateTable( |
|
|
|
name: "AbpSettings", |
|
|
|
columns: table => new |
|
|
|
@ -227,8 +247,8 @@ namespace Migrations |
|
|
|
ShouldChangePasswordOnNextLogin = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
|
|
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
|
|
@ -262,8 +282,8 @@ namespace Migrations |
|
|
|
LastUpdatedTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
LastSignificantUpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
|
|
LastCachedTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
@ -285,8 +305,8 @@ namespace Migrations |
|
|
|
DocumentStoreType = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
MainWebsiteUrl = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
LatestVersionBranchName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true) |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
@ -553,6 +573,12 @@ namespace Migrations |
|
|
|
table: "AbpSecurityLogs", |
|
|
|
columns: new[] { "TenantId", "UserId" }); |
|
|
|
|
|
|
|
migrationBuilder.CreateIndex( |
|
|
|
name: "IX_AbpSettingDefinitions_Name", |
|
|
|
table: "AbpSettingDefinitions", |
|
|
|
column: "Name", |
|
|
|
unique: true); |
|
|
|
|
|
|
|
migrationBuilder.CreateIndex( |
|
|
|
name: "IX_AbpSettings_Name_ProviderName_ProviderKey", |
|
|
|
table: "AbpSettings", |
|
|
|
@ -628,6 +654,9 @@ namespace Migrations |
|
|
|
migrationBuilder.DropTable( |
|
|
|
name: "AbpSecurityLogs"); |
|
|
|
|
|
|
|
migrationBuilder.DropTable( |
|
|
|
name: "AbpSettingDefinitions"); |
|
|
|
|
|
|
|
migrationBuilder.DropTable( |
|
|
|
name: "AbpSettings"); |
|
|
|
|