@ -11,16 +11,16 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpClaimTypes" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : tru e) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : tru e) ,
Name = table . Column < string > ( maxLength : 2 5 6 , nullable : false ) ,
Required = table . Column < bool > ( nullable : fals e) ,
IsStatic = table . Column < bool > ( nullable : fals e) ,
Regex = table . Column < string > ( maxLength : 5 1 2 , nullable : true ) ,
RegexDescription = table . Column < string > ( maxLength : 1 2 8 , nullable : tru e) ,
Description = table . Column < string > ( maxLength : 2 5 6 , nullable : true ) ,
ValueType = table . Column < int > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
Required = table . Column < bool > ( type : "bit" , nullable : fals e) ,
IsStatic = table . Column < bool > ( type : "bit" , nullable : false ) ,
Regex = table . Column < string > ( type : "nvarchar(512)" , maxLength : 5 1 2 , nullable : tru e) ,
RegexDescription = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : tru e) ,
Description = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : true ) ,
ValueType = table . Column < int > ( type : "int" , nullable : fals e) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : tru e)
} ,
constraints : table = >
{
@ -31,11 +31,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpLinkUsers" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
SourceUserId = table . Column < Guid > ( nullable : false ) ,
SourceTenantId = table . Column < Guid > ( nullable : true ) ,
TargetUserId = table . Column < Guid > ( nullable : false ) ,
TargetTenantId = table . Column < Guid > ( nullable : true )
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
SourceUserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
SourceTenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
TargetUserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TargetTenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true )
} ,
constraints : table = >
{
@ -46,20 +46,20 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpOrganizationUnits" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : true ) ,
CreationTim e = table . Column < DateTime > ( nullable : false ) ,
CreatorId = table . Column < Guid > ( nullable : tru e) ,
LastModificationTime = table . Column < DateTime > ( nullable : true ) ,
LastModifierId = table . Column < Guid > ( nullable : true ) ,
IsDeleted = table . Column < bool > ( nullable : false , defaultValu e: false ) ,
Delete rId = table . Column < Guid > ( nullable : true ) ,
Dele tionTime = table . Column < DateTime > ( nullable : true ) ,
Tenant Id = table . Column < Guid > ( nullable : true ) ,
ParentI d = table . Column < Guid > ( nullable : tru e) ,
Code = table . Column < string > ( maxLength : 9 5 , nullable : fals e) ,
DisplayNa me = table . Column < string > ( maxLength : 1 2 8 , nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
ParentId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
Cod e = table . Column < string > ( type : "nvarchar(95)" , maxLength : 9 5 , nullable : false ) ,
DisplayName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : fals e) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullabl e: false ) ,
Creato rId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
LastModifica tionTime = table . Column < DateTime > ( type : "datetime2" , nullable : true ) ,
LastModifier Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
IsDelete d = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : fals e) ,
DeleterId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
DeletionT ime = table . Column < DateTime > ( type : "datetime2" , nullable : tru e)
} ,
constraints : table = >
{
@ -76,11 +76,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpPermissionGrants" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
TenantId = table . Column < Guid > ( nullable : true ) ,
Name = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
ProviderName = table . Column < string > ( maxLength : 6 4 , nullable : false ) ,
ProviderKey = table . Column < string > ( maxLength : 6 4 , nullable : false )
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
Name = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
ProviderName = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : false ) ,
ProviderKey = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : false )
} ,
constraints : table = >
{
@ -91,15 +91,15 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpRoles" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : tru e) ,
TenantId = table . Column < Guid > ( nullable : tru e) ,
Name = table . Column < string > ( maxLength : 2 5 6 , nullable : false ) ,
NormalizedName = table . Column < string > ( maxLength : 2 5 6 , nullable : false ) ,
IsDefault = table . Column < bool > ( nullable : false ) ,
IsStatic = table . Column < bool > ( nullable : fals e) ,
IsPublic = table . Column < bool > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
Name = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
NormalizedName = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
IsDefault = table . Column < bool > ( type : "bit" , nullable : false ) ,
IsStatic = table . Column < bool > ( type : "bit" , nullable : false ) ,
IsPublic = table . Column < bool > ( type : "bit" , nullable : false ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : tru e) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : tru e)
} ,
constraints : table = >
{
@ -110,21 +110,21 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpSecurityLogs" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : true ) ,
TenantId = table . Column < Guid > ( nullable : true ) ,
Appli ca tionName = table . Column < string > ( maxLength : 9 6 , nullable : true ) ,
Identity = table . Column < string > ( maxLength : 9 6 , nullable : true ) ,
Action = table . Column < string > ( maxLength : 9 6 , nullable : true ) ,
UserId = table . Column < Guid > ( nullable : true ) ,
UserName = table . Column < string > ( maxLength : 2 5 6 , nullable : true ) ,
TenantName = table . Column < string > ( maxLength : 6 4 , nullable : true ) ,
ClientId = table . Column < string > ( maxLength : 6 4 , nullable : true ) ,
CorrelationId = table . Column < string > ( maxLength : 6 4 , nullable : true ) ,
ClientIpAddress = table . Column < string > ( maxLength : 6 4 , nullable : tru e) ,
BrowserInfo = table . Column < string > ( maxLength : 5 1 2 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
ApplicationName = table . Column < string > ( type : "nvarchar(96)" , maxLength : 9 6 , nullable : true ) ,
Identity = table . Column < string > ( type : "nvarchar(96)" , maxLength : 9 6 , nullable : true ) ,
Action = table . Column < string > ( type : "nvarchar(96)" , maxLength : 9 6 , nullable : true ) ,
User Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
UserName = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : true ) ,
TenantName = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
ClientId = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
CorrelationId = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
ClientIpA ddress = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
BrowserInfo = table . Column < string > ( type : "nvarchar(512)" , maxLength : 5 1 2 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : fals e) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : tru e)
} ,
constraints : table = >
{
@ -135,11 +135,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpSettings" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
Name = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
Value = table . Column < string > ( maxLength : 2 0 4 8 , nullable : false ) ,
ProviderName = table . Column < string > ( maxLength : 6 4 , nullable : true ) ,
ProviderKey = table . Column < string > ( maxLength : 6 4 , nullable : true )
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
Value = table . Column < string > ( type : "nvarchar(2048)" , maxLength : 2 0 4 8 , nullable : false ) ,
ProviderName = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
ProviderKey = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true )
} ,
constraints : table = >
{
@ -150,33 +150,33 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUsers" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : tru e) ,
CreationTi me = table . Column < DateTime > ( nullable : false ) ,
CreatorId = table . Column < Guid > ( nullable : true ) ,
LastModificationTi me = table . Column < DateTime > ( nullable : true ) ,
LastModifierId = table . Column < Guid > ( nullable : tru e) ,
IsDeleted = table . Column < bool > ( nullable : false , defaultValu e: false ) ,
DeleterI d = table . Column < Guid > ( nullable : tru e) ,
DeletionTime = table . Column < DateTime > ( nullable : true ) ,
TenantId = table . Column < Guid > ( nullable : tru e) ,
UserName = table . Column < string > ( maxLength : 2 5 6 , nullabl e: false ) ,
NormalizedUserName = table . Column < string > ( maxLength : 2 5 6 , nullable : fals e) ,
Name = table . Column < string > ( maxLength : 6 4 , nullable : tru e) ,
Surname = table . Column < string > ( maxLength : 6 4 , nullable : tru e) ,
Email = table . Column < string > ( maxLength : 2 5 6 , nullable : fals e) ,
NormalizedEmail = table . Column < string > ( maxLength : 2 5 6 , nullabl e: false ) ,
EmailConfirmed = table . Column < bool > ( nullable : false , defaultValue : false ) ,
PasswordHash = table . Column < string > ( maxLength : 2 5 6 , nullable : true ) ,
Securit yStamp = table . Column < string > ( maxLength : 2 5 6 , nullable : fals e) ,
IsExternal = table . Column < bool > ( nullable : false , defaultValu e: false ) ,
PhoneNumber = table . Column < string > ( maxLength : 1 6 , nullable : true ) ,
PhoneNumberConfirmed = table . Column < bool > ( nullable : false , defaultValue : fals e) ,
TwoFactorEnable d = table . Column < bool > ( nullable : false , defaultValue : fals e) ,
LockoutEn d = table . Column < DateTimeOffset > ( nullable : tru e) ,
LockoutEnable d = table . Column < bool > ( nullable : false , defaultValue : fals e) ,
AccessFailedCount = table . Column < int > ( nullable : false , defaultValue : 0 )
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
UserName = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
NormalizedUserNa me = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
Surna me = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : true ) ,
Email = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
NormalizedEmail = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullabl e: false ) ,
EmailConfirme d = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : fals e) ,
PasswordHash = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : true ) ,
SecurityStamp = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
IsExternal = table . Column < bool > ( type : "bit" , nullable : false , defaultValu e: false ) ,
PhoneNumber = table . Column < string > ( type : "nvarchar(16)" , maxLength : 1 6 , nullable : tru e) ,
PhoneNumberConfirmed = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : fals e) ,
TwoFactorEnabled = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : fals e) ,
LockoutEnd = table . Column < DateTimeOffset > ( type : "datetimeoffset" , nullable : tru e) ,
LockoutEnabled = table . Column < bool > ( type : "bit" , nullable : false , defaultValu e: false ) ,
AccessFailedCount = table . Column < int > ( type : "int" , nullable : false , defaultValue : 0 ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
Concurrenc yStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : tru e) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullabl e: false ) ,
CreatorId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
LastModificationTime = table . Column < DateTime > ( type : "datetime2" , nullable : tru e) ,
LastModifierI d = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
IsDelete d = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : fals e) ,
DeleterI d = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
DeletionTime = table . Column < DateTime > ( type : "datetime2" , nullable : true )
} ,
constraints : table = >
{
@ -187,24 +187,24 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "DocsDocuments" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : tru e) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : tru e) ,
ProjectId = table . Column < Guid > ( nullable : false ) ,
Nam e = table . Column < string > ( maxLength : 2 5 5 , nullable : false ) ,
Version = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
LanguageCode = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
FileName = table . Column < string > ( maxLength : 1 2 8 , nullable : fals e) ,
Content = table . Column < string > ( nullable : fals e) ,
Format = table . Column < string > ( maxLength : 1 2 8 , nullable : true ) ,
EditLink = table . Column < string > ( maxLength : 2 0 4 8 , nullable : true ) ,
RootUrl = table . Column < string > ( maxLength : 2 0 4 8 , nullable : true ) ,
RawRootUrl = table . Column < string > ( maxLength : 2 0 4 8 , nullable : tru e) ,
LocalDirectory = table . Column < string > ( maxLength : 5 1 2 , nullable : tru e) ,
Creation Time = table . Column < DateTime > ( nullable : fals e) ,
LastUpdat edTime = table . Column < DateTime > ( nullable : false ) ,
LastSignificantUpdateTime = table . Column < DateTime > ( nullable : true ) ,
LastCachedTime = table . Column < DateTime > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
ProjectId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : fals e) ,
Name = table . Column < string > ( type : "nvarchar(255)" , maxLength : 2 5 5 , nullable : fals e) ,
Version = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
LanguageCod e = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
FileName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
Content = table . Column < string > ( type : "nvarchar(max)" , nullable : false ) ,
Format = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : tru e) ,
EditLink = table . Column < string > ( type : "nvarchar(2048)" , maxLength : 2 0 4 8 , nullable : tru e) ,
RootUrl = table . Column < string > ( type : "nvarchar(2048)" , maxLength : 2 0 4 8 , nullable : true ) ,
RawRootUrl = table . Column < string > ( type : "nvarchar(2048)" , maxLength : 2 0 4 8 , nullable : true ) ,
LocalDirectory = table . Column < string > ( type : "nvarchar(512)" , maxLength : 5 1 2 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : fals e) ,
LastUpdatedTime = table . Column < DateTime > ( type : "datetime2" , nullable : fals e) ,
LastSignificantUpdate Time = table . Column < DateTime > ( type : "datetime2" , nullable : tru e) ,
LastCach edTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : tru e)
} ,
constraints : table = >
{
@ -215,19 +215,19 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "DocsProjects" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
ExtraProperties = table . Column < string > ( nullable : tru e) ,
ConcurrencyStamp = table . Column < string > ( maxLength : 4 0 , nullable : tru e) ,
Name = table . Column < string > ( maxLength : 1 2 8 , nullable : fals e) ,
Shor tName = table . Column < string > ( maxLength : 3 2 , nullable : false ) ,
Format = table . Column < string > ( nullable : tru e) ,
Default DocumentName = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
NavigationDocumentName = table . Column < string > ( maxLength : 1 2 8 , nullable : fals e) ,
ParametersDocumentNam e = table . Column < string > ( maxLength : 1 2 8 , nullable : fals e) ,
MinimumVersion = table . Column < string > ( nullable : true ) ,
DocumentStoreTyp e = table . Column < string > ( nullable : true ) ,
MainWebsiteUrl = table . Column < string > ( nullable : true ) ,
LatestVersionBranchName = table . Column < string > ( maxLength : 1 2 8 , nullable : true )
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : fals e) ,
ShortName = table . Column < string > ( type : "nvarchar(32)" , maxLength : 3 2 , nullable : fals e) ,
Format = table . Column < string > ( type : "nvarchar(max)" , nullable : tru e) ,
DefaultDocumen tName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
NavigationDocumentName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : fals e) ,
Parameters DocumentName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
MinimumVersion = table . Column < string > ( type : "nvarchar(max)" , nullable : tru e) ,
DocumentStoreTyp e = table . Column < string > ( type : "nvarchar(max)" , nullable : tru e) ,
MainWebsiteUrl = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
LatestVersionBranchNam e = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : true ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 4 0 , nullable : true )
} ,
constraints : table = >
{
@ -238,11 +238,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpOrganizationUnitRoles" ,
columns : table = > new
{
RoleId = table . Column < Guid > ( nullable : false ) ,
OrganizationUnitId = table . Column < Guid > ( nullable : false ) ,
CreationTime = table . Column < DateTime > ( nullable : fals e) ,
CreatorId = table . Column < Guid > ( nullable : tru e) ,
Tenant Id = table . Column < Guid > ( nullable : true )
RoleId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
OrganizationUnitId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : fals e) ,
Creator Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true )
} ,
constraints : table = >
{
@ -265,11 +265,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpRoleClaims" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
Tenant Id = table . Column < Guid > ( nullable : tru e) ,
Claim Typ e = table . Column < string > ( maxLength : 2 5 6 , nullable : fals e) ,
ClaimValu e = table . Column < string > ( maxLength : 1 0 2 4 , nullable : tru e) ,
RoleId = table . Column < Guid > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Role Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : fals e) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
ClaimTyp e = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
ClaimValue = table . Column < string > ( type : "nvarchar(1024)" , maxLength : 1 0 2 4 , nullable : tru e)
} ,
constraints : table = >
{
@ -286,11 +286,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUserClaims" ,
columns : table = > new
{
Id = table . Column < Guid > ( nullable : false ) ,
Tenant Id = table . Column < Guid > ( nullable : tru e) ,
Claim Typ e = table . Column < string > ( maxLength : 2 5 6 , nullable : fals e) ,
ClaimValu e = table . Column < string > ( maxLength : 1 0 2 4 , nullable : tru e) ,
UserId = table . Column < Guid > ( nullable : fals e)
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
User Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : fals e) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
ClaimTyp e = table . Column < string > ( type : "nvarchar(256)" , maxLength : 2 5 6 , nullable : fals e) ,
ClaimValue = table . Column < string > ( type : "nvarchar(1024)" , maxLength : 1 0 2 4 , nullable : tru e)
} ,
constraints : table = >
{
@ -307,11 +307,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUserLogins" ,
columns : table = > new
{
UserId = table . Column < Guid > ( nullable : false ) ,
LoginProvider = table . Column < string > ( maxLength : 6 4 , nullable : false ) ,
TenantId = table . Column < Guid > ( nullable : true ) ,
ProviderKey = table . Column < string > ( maxLength : 1 9 6 , nullable : false ) ,
ProviderDisplayName = table . Column < string > ( maxLength : 1 2 8 , nullable : true )
UserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
LoginProvider = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
ProviderKey = table . Column < string > ( type : "nvarchar(196)" , maxLength : 1 9 6 , nullable : false ) ,
ProviderDisplayName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : true )
} ,
constraints : table = >
{
@ -328,11 +328,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUserOrganizationUnits" ,
columns : table = > new
{
UserId = table . Column < Guid > ( nullable : false ) ,
OrganizationUnitId = table . Column < Guid > ( nullable : false ) ,
CreationTime = table . Column < DateTime > ( nullable : fals e) ,
CreatorId = table . Column < Guid > ( nullable : tru e) ,
Tenant Id = table . Column < Guid > ( nullable : true )
UserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
OrganizationUnitId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : tru e) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : fals e) ,
Creator Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true )
} ,
constraints : table = >
{
@ -355,9 +355,9 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUserRoles" ,
columns : table = > new
{
UserId = table . Column < Guid > ( nullable : false ) ,
RoleId = table . Column < Guid > ( nullable : false ) ,
TenantId = table . Column < Guid > ( nullable : true )
UserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
RoleId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true )
} ,
constraints : table = >
{
@ -380,11 +380,11 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "AbpUserTokens" ,
columns : table = > new
{
UserId = table . Column < Guid > ( nullable : false ) ,
LoginProvider = table . Column < string > ( maxLength : 6 4 , nullable : false ) ,
Name = table . Column < string > ( maxLength : 1 2 8 , nullable : false ) ,
TenantId = table . Column < Guid > ( nullable : true ) ,
Value = table . Column < string > ( nullable : true )
UserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
LoginProvider = table . Column < string > ( type : "nvarchar(64)" , maxLength : 6 4 , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(128)" , maxLength : 1 2 8 , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
Value = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
} ,
constraints : table = >
{
@ -401,10 +401,10 @@ namespace VoloDocs.EntityFrameworkCore.Migrations
name : "DocsDocumentContributors" ,
columns : table = > new
{
DocumentId = table . Column < Guid > ( nullable : false ) ,
Username = table . Column < string > ( nullable : false ) ,
UserProfileUrl = table . Column < string > ( nullable : true ) ,
AvatarUrl = table . Column < string > ( nullable : true )
DocumentId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Username = table . Column < string > ( type : "nvarchar(450)" , nullable : false ) ,
UserProfileUrl = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
AvatarUrl = table . Column < string > ( type : "nvarchar(max)" , nullable : true )
} ,
constraints : table = >
{