mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 17:25:16 +03:00
Add username to user
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
module.exports.up = knex =>
|
||||
knex.schema.createTable('project', table => {
|
||||
module.exports.up = (knex) =>
|
||||
knex.schema.createTable('project', (table) => {
|
||||
/* Columns */
|
||||
|
||||
table
|
||||
.bigInteger('id')
|
||||
.primary()
|
||||
.defaultTo(knex.raw('next_id()'));
|
||||
table.bigInteger('id').primary().defaultTo(knex.raw('next_id()'));
|
||||
|
||||
table.text('name').notNullable();
|
||||
|
||||
@@ -13,4 +10,4 @@ module.exports.up = knex =>
|
||||
table.timestamp('updated_at', true);
|
||||
});
|
||||
|
||||
module.exports.down = knex => knex.schema.dropTable('project');
|
||||
module.exports.down = (knex) => knex.schema.dropTable('project');
|
||||
|
||||
Reference in New Issue
Block a user