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
cd2a0d5710
commit
636040c635
@ -175,7 +175,8 @@ namespace JetKarmaBot.Models
|
|||||||
|
|
||||||
entity.Property(e => e.CooldownDate)
|
entity.Property(e => e.CooldownDate)
|
||||||
.HasColumnName("cooldowndate")
|
.HasColumnName("cooldowndate")
|
||||||
.HasColumnType("datetime");
|
.HasColumnType("timestamp")
|
||||||
|
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user