diff --git a/data/migrations/20220305133956_initial-migration.js b/data/migrations/20220305133956_initial-migration.js index f60943b35e..c5bc0dcb83 100644 --- a/data/migrations/20220305133956_initial-migration.js +++ b/data/migrations/20220305133956_initial-migration.js @@ -8,7 +8,7 @@ exports.up = async function(knex) { table.increments('project_id') table.string('project_name', 200).notNullable() table.string('project_description', 500) - table.boolean('project_completed').defaultTo(false) + table.boolean('project_completed').defaultTo(0) }) .createTable('resources', table => { table.increments('resource_id') @@ -19,7 +19,7 @@ exports.up = async function(knex) { table.increments('task_id') table.string('task_description', 500).notNullable() table.string('task_notes', 500) - table.boolean('task_completed').defaultTo(false) + table.boolean('task_completed').defaultTo(0) table.integer('project_id') .unsigned() .notNullable()