|
|
|
@ -171,14 +171,14 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations |
|
|
|
}); |
|
|
|
|
|
|
|
migrationBuilder.CreateTable( |
|
|
|
name: "AbpSettingDefinitionRecords", |
|
|
|
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(max)", nullable: true), |
|
|
|
DefaultValue = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
Description = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), |
|
|
|
DefaultValue = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), |
|
|
|
IsVisibleToClients = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
Providers = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), |
|
|
|
IsInherited = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
@ -187,7 +187,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
|
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id); |
|
|
|
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id); |
|
|
|
}); |
|
|
|
|
|
|
|
migrationBuilder.CreateTable( |
|
|
|
@ -502,8 +502,8 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations |
|
|
|
columns: new[] { "TenantId", "UserId" }); |
|
|
|
|
|
|
|
migrationBuilder.CreateIndex( |
|
|
|
name: "IX_AbpSettingDefinitionRecords_Name", |
|
|
|
table: "AbpSettingDefinitionRecords", |
|
|
|
name: "IX_AbpSettingDefinitions_Name", |
|
|
|
table: "AbpSettingDefinitions", |
|
|
|
column: "Name", |
|
|
|
unique: true); |
|
|
|
|
|
|
|
@ -583,7 +583,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations |
|
|
|
name: "AbpSecurityLogs"); |
|
|
|
|
|
|
|
migrationBuilder.DropTable( |
|
|
|
name: "AbpSettingDefinitionRecords"); |
|
|
|
name: "AbpSettingDefinitions"); |
|
|
|
|
|
|
|
migrationBuilder.DropTable( |
|
|
|
name: "AbpSettings"); |