Skip to content

Commit

Permalink
Adds missing indexes to journey user step table (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushchris authored Nov 20, 2024
1 parent 19fb99c commit b23ab3d
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
exports.up = async function(knex) {
await knex.schema.alterTable('journey_user_step', function(table) {
table.index(['type', 'delay_until'])
})
}

exports.down = async function(knex) {
await knex.schema.alterTable('journey_user_step', function(table) {
table.dropIndex(['type', 'delay_until'])
})
}

0 comments on commit b23ab3d

Please sign in to comment.