Thanks! Here’s I managed to workaround:
table.timestamp('created_at').defaultTo(knex.fn.now());
This will create the column with the default value of CURRENT_TIMESTAMP, but without the “on update” statement
Thanks! Here’s I managed to workaround:
table.timestamp('created_at').defaultTo(knex.fn.now());
This will create the column with the default value of CURRENT_TIMESTAMP, but without the “on update” statement