Change column type to timestamp

This commit is contained in:
Basique Evangelist 2019-12-08 13:18:29 +00:00
parent cd2a0d5710
commit 636040c635
Signed by untrusted user: BasiqueEvangelist
GPG Key ID: B370219149301706

View File

@ -175,7 +175,8 @@ namespace JetKarmaBot.Models
entity.Property(e => e.CooldownDate)
.HasColumnName("cooldowndate")
.HasColumnType("datetime");
.HasColumnType("timestamp")
.HasDefaultValueSql("CURRENT_TIMESTAMP");
});
}
}