mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 00:56:09 +03:00
Change column type to timestamp
This commit is contained in:
parent
805af26473
commit
4ee2dafded
@ -175,7 +175,8 @@ namespace JetKarmaBot.Models
|
||||
|
||||
entity.Property(e => e.CooldownDate)
|
||||
.HasColumnName("cooldowndate")
|
||||
.HasColumnType("datetime");
|
||||
.HasColumnType("timestamp")
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user