1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-02 20:15:27 +02:00

ref: Little refactoring

This commit is contained in:
Maksim Eltyshev 2022-08-23 21:06:50 +02:00
parent 07867fc0b2
commit 039eee0aac
8 changed files with 45 additions and 33 deletions

View file

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

View file

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