data/migrations/20201215165436__date_column_in_faceoffs.js
exports.up = function(knex) {
return knex.schema.table('Faceoffs', table => {
table.timestamp('Date').defaultTo(knex.fn.now());
})
};
exports.down = function(knex) {
return knex.schema.table('Faceoffs', table => {
table.dropColumn('Date');
});
};