feat: Add status to step model and adjust executeFlow accordingly
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
572ad71241
commit
e155bb528f
@@ -0,0 +1,13 @@
|
||||
import { Knex } from 'knex';
|
||||
|
||||
export async function up(knex: Knex): Promise<void> {
|
||||
return knex.schema.table('steps', (table) => {
|
||||
table.string('status').notNullable().defaultTo('incomplete');
|
||||
});
|
||||
}
|
||||
|
||||
export async function down(knex: Knex): Promise<void> {
|
||||
return knex.schema.table('steps', (table) => {
|
||||
table.dropColumn('status');
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user