logout
This commit is contained in:
@@ -4,7 +4,7 @@ exports.up = async knex => {
|
||||
table.timestamps(true, true);
|
||||
table.string('name', 42).notNullable().unique();
|
||||
table.string('password').notNullable();
|
||||
table.string('token', 64);
|
||||
table.string('token', 64).notNullable();
|
||||
table.timestamp('token_expiry');
|
||||
|
||||
table.index('name');
|
||||
|
||||
Reference in New Issue
Block a user