Remove date precision

This commit is contained in:
Johan Haals
2021-02-03 10:41:06 +01:00
parent c386de896d
commit 693ae8c625
@@ -62,7 +62,7 @@ exports.up = async function up(knex) {
.comment('The JSON encoded body of the event');
table.text('event_type').notNullable().comment('The type of event');
table
.timestamp('created_at', { precision: 9 })
.timestamp('created_at')
.defaultTo(knex.fn.now())
.notNullable()
.comment('The timestamp when this event was generated');