Skip to content

Commit

Permalink
Drop enum type on rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdean-digicatapult committed May 8, 2024
1 parent d7d3e3e commit 6253fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migrations/20240507145215_connection_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ exports.up = async function (knex) {
*/
exports.down = async function (knex) {
await knex.schema.dropTable('connection')
await knex.schema.raw('DROP TYPE ??', ['connection_status'])
}

0 comments on commit 6253fd4

Please sign in to comment.