feat: Add index to executions created_at column

This commit is contained in:
Faruk AYDIN
2025-03-19 20:31:13 +01:00
parent 5b7d43e24b
commit 09a51637c4

View File

@@ -0,0 +1,11 @@
export async function up(knex) {
return await knex.schema.table('executions', (table) => {
table.index('created_at');
});
}
export async function down(knex) {
return await knex.schema.table('executions', (table) => {
table.dropIndex('created_at');
});
}