mirror of
https://github.com/plankanban/planka.git
synced 2025-08-02 20:15:27 +02:00
Change id generation algorithm, display notifications total on the main page
This commit is contained in:
parent
4911816734
commit
e8139b29d5
86 changed files with 264 additions and 159 deletions
|
@ -1,25 +0,0 @@
|
|||
module.exports.up = knex =>
|
||||
knex.schema.createTable('card', table => {
|
||||
/* Columns */
|
||||
|
||||
table.increments();
|
||||
|
||||
table.integer('list_id').notNullable();
|
||||
table.integer('board_id').notNullable();
|
||||
|
||||
table.specificType('position', 'double precision').notNullable();
|
||||
table.text('name').notNullable();
|
||||
table.text('description');
|
||||
table.timestamp('dueDate', true);
|
||||
table.jsonb('timer');
|
||||
|
||||
table.timestamp('created_at', true);
|
||||
table.timestamp('updated_at', true);
|
||||
|
||||
/* Indexes */
|
||||
|
||||
table.index('list_id');
|
||||
table.index('position');
|
||||
});
|
||||
|
||||
module.exports.down = knex => knex.schema.dropTable('card');
|
Loading…
Add table
Add a link
Reference in a new issue