Added last login column to users table.

This commit is contained in:
DebaucheryLibrarian
2022-04-04 00:23:37 +02:00
parent a586413240
commit 153f28c494
4 changed files with 28 additions and 29 deletions

View 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');
});