forked from DebaucheryLibrarian/traxxx
Added last login column to users table.
This commit is contained in:
7
migrations/20220403235645_last_login.js
Normal file
7
migrations/20220403235645_last_login.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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');
|
||||
});
|
||||
Reference in New Issue
Block a user