feat: Implement getStepWithTestExecutions query

This commit is contained in:
Faruk AYDIN
2022-02-22 02:04:12 +03:00
committed by Ali BARIN
parent 98864ceadd
commit d139eb8c06
9 changed files with 112 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import { Knex } from "knex";
import { Knex } from 'knex';
export async function up(knex: Knex): Promise<void> {
return knex.schema.createTable('steps', (table) => {
@@ -7,11 +7,11 @@ export async function up(knex: Knex): Promise<void> {
table.string('app_key').notNullable();
table.string('type').notNullable();
table.integer('connection_id').references('id').inTable('connections');
table.text('parameters')
table.text('parameters');
table.timestamps(true, true);
});
};
}
export async function down(knex: Knex): Promise<void> {
return knex.schema.dropTable('steps');