Hi all,A question regarding Knex...If I have this in a migration file:table.timestamps();and would like to modify to this:table.timestamps(true,true);or this:table.dateTime("post_date");and would like to modify to this:table.dateTime("post_date", { precision: 6 }).defaultTo(knex.fn.now(6));how I'm supposed to proceed?Should I create a new migration? With what content?P.S.I'm using SQLite/PostgreSQL.
Submitted May 28, 2019 at 11:22AM by reditoro
No comments:
Post a Comment