feat: add flow_id index in executions
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
import { Knex } from 'knex';
|
||||||
|
|
||||||
|
export async function up(knex: Knex): Promise<void> {
|
||||||
|
await knex.schema.table('executions', (table) => {
|
||||||
|
table.index('flow_id');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function down(knex: Knex): Promise<void> {
|
||||||
|
await knex.schema.table('executions', (table) => {
|
||||||
|
table.dropIndex('flow_id');
|
||||||
|
});
|
||||||
|
}
|
Reference in New Issue
Block a user