0
QuickApp created
What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core
Hi, Migration does not detect any changes even though I made the following change in Project.Core/MultiTenancy/Tenant.cs:
[Required]
[StringLength(MaxTenancyNameLength)]
[MinLength(TenantConsts.MinNameLength)]
public override string TenancyName { get; set; }
TenantConsts.MinNameLength= 3 MaxTenancyNameLength= 64
1 Answer(s)
-
0
Hi @QuickApp
It is better to set this in OnModelCreating of your DbContext using fluent configuration.