You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
305 B
JavaScript
13 lines
305 B
JavaScript
module.exports.up = async (knex) =>
|
|
knex.schema.table('card', (table) => {
|
|
/* Columns */
|
|
|
|
table.boolean('due_completed').notNullable().defaultTo(false);
|
|
});
|
|
|
|
module.exports.down = async (knex) => {
|
|
await knex.schema.table('card', (table) => {
|
|
table.dropColumn('due_completed');
|
|
});
|
|
};
|