8 lines
223 B
JavaScript
8 lines
223 B
JavaScript
|
exports.up = async (knex) => knex.schema.alterTable('users', (table) => {
|
||
|
table.datetime('last_login');
|
||
|
});
|
||
|
|
||
|
exports.down = async (knex) => knex.schema.alterTable('users', (table) => {
|
||
|
table.dropColumn('last_login');
|
||
|
});
|