mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
ref: Little refactoring
This commit is contained in:
parent
c40709a509
commit
ac64b28b69
8 changed files with 45 additions and 33 deletions
|
@ -1,11 +1,11 @@
|
|||
module.exports.up = async (knex) =>
|
||||
module.exports.up = (knex) =>
|
||||
knex.schema.table('user_account', (table) => {
|
||||
/* Columns */
|
||||
|
||||
table.text('language');
|
||||
});
|
||||
|
||||
module.exports.down = async (knex) =>
|
||||
module.exports.down = (knex) =>
|
||||
knex.schema.table('user_account', (table) => {
|
||||
table.dropColumn('language');
|
||||
});
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
module.exports.up = async (knex) =>
|
||||
module.exports.up = (knex) =>
|
||||
knex.schema.table('user_account', (table) => {
|
||||
/* Columns */
|
||||
|
||||
table.timestamp('password_changed_at', true);
|
||||
});
|
||||
|
||||
module.exports.down = async (knex) =>
|
||||
module.exports.down = (knex) =>
|
||||
knex.schema.table('user_account', (table) => {
|
||||
table.dropColumn('password_changed_at');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue