Merge pull request #2406 from automatisch/executions-created-at-index
feat: Add index to executions created_at column
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user