mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(dir): ✨ default license permissions to false
This commit is contained in:
parent
6bc2a44907
commit
4f014332c6
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,12 @@ public virtual void Configure(EntityTypeBuilder<License> builder)
|
|||
{
|
||||
builder.HasIndex(l => l.Name)
|
||||
.IsUnique();
|
||||
builder.Property(l => l.PermitsModification)
|
||||
.HasDefaultValue(false);
|
||||
builder.Property(l => l.PermitsDistribution)
|
||||
.HasDefaultValue(false);
|
||||
builder.Property(l => l.PermitsCommercialUse)
|
||||
.HasDefaultValue(false);
|
||||
builder.HasDataJsonFile<License>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue