automatisch
/
packages
/backend
/src
/db
/migrations
/20220105151725_remove_constraints_from_steps.js
export async function up(knex) { | |
return knex.schema.alterTable('steps', (table) => { | |
table.string('key').nullable().alter(); | |
table.string('app_key').nullable().alter(); | |
}); | |
} | |
export async function down(knex) { | |
return knex.schema.alterTable('steps', (table) => { | |
table.string('key').notNullable().alter(); | |
table.string('app_key').notNullable().alter(); | |
}); | |
} | |