feat: Add error details jsonb column to execution steps

This commit is contained in:
Faruk AYDIN
2022-09-04 19:13:25 +03:00
parent fc330e25cf
commit d0922d85b3
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { Knex } from 'knex';
export async function up(knex: Knex): Promise<void> {
return knex.schema.table('execution_steps', (table) => {
table.jsonb('error_details');
});
}
export async function down(knex: Knex): Promise<void> {
return knex.schema.table('execution_steps', (table) => {
table.dropColumn('error_details');
});
}