mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
Add username to user
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
module.exports.up = knex =>
|
||||
knex.schema.createTable('card', table => {
|
||||
module.exports.up = (knex) =>
|
||||
knex.schema.createTable('card', (table) => {
|
||||
/* Columns */
|
||||
|
||||
table
|
||||
.bigInteger('id')
|
||||
.primary()
|
||||
.defaultTo(knex.raw('next_id()'));
|
||||
table.bigInteger('id').primary().defaultTo(knex.raw('next_id()'));
|
||||
|
||||
table.bigInteger('list_id').notNullable();
|
||||
table.bigInteger('board_id').notNullable();
|
||||
@@ -25,4 +22,4 @@ module.exports.up = knex =>
|
||||
table.index('position');
|
||||
});
|
||||
|
||||
module.exports.down = knex => knex.schema.dropTable('card');
|
||||
module.exports.down = (knex) => knex.schema.dropTable('card');
|
||||
|
||||
Reference in New Issue
Block a user