mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove duplicated default value on dates
This commit is contained in:
parent
d3c9a13bb7
commit
ecfcba9fb3
1 changed files with 0 additions and 2 deletions
|
|
@ -10,11 +10,9 @@ public virtual void Configure(EntityTypeBuilder<TBase> entityTypeBuilder)
|
|||
{
|
||||
entityTypeBuilder.Property(b => b.CreatedDateUtc)
|
||||
.HasColumnType("TIMESTAMP")
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP")
|
||||
.ValueGeneratedOnAdd();
|
||||
entityTypeBuilder.Property(b => b.ModifiedDateUtc)
|
||||
.HasColumnType("TIMESTAMP")
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP")
|
||||
.ValueGeneratedOnAddOrUpdate();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue