greet rework should be finished. Fixed postgres, removed mysql
This commit is contained in:
parent
2902921026
commit
52b15131b9
51 changed files with 39 additions and 88625 deletions
src/EllieBot/Db
|
@ -690,6 +690,17 @@ public abstract class EllieContext : DbContext
|
|||
})
|
||||
.IsUnique());
|
||||
|
||||
modelBuilder.Entity<GreetSettings>(gs =>
|
||||
{
|
||||
gs
|
||||
.Property(x => x.IsEnabled)
|
||||
.HasDefaultValue(false);
|
||||
|
||||
gs
|
||||
.Property(x => x.AutoDeleteTimer)
|
||||
.HasDefaultValue(0);
|
||||
});
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue