mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 09:15:01 +03:00
Move from prettier-eslint to eslint-plugin-prettier, update dependencies
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
module.exports.up = (knex) => knex.schema.createTable('project', (table) => {
|
||||
/* Columns */
|
||||
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();
|
||||
table.text('name').notNullable();
|
||||
|
||||
table.timestamp('created_at', true);
|
||||
table.timestamp('updated_at', true);
|
||||
});
|
||||
table.timestamp('created_at', true);
|
||||
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