Skip to content

Commit

Permalink
Revert "fix: remove destroyAll from add custom templates migration"
Browse files Browse the repository at this point in the history
This reverts commit 5baf3b7.
  • Loading branch information
nickoferrall committed Mar 27, 2024
1 parent 5baf3b7 commit 79e67cd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export async function up() {
.addColumn('freeCustomRetroTemplatesRemaining', 'int2', (col) => col.defaultTo(2).notNull())
.addColumn('freeCustomPokerTemplatesRemaining', 'int2', (col) => col.defaultTo(2).notNull())
.execute()

await pg.destroy()
}

export async function down() {
Expand All @@ -27,4 +29,6 @@ export async function down() {
.dropColumn('freeCustomRetroTemplatesRemaining')
.dropColumn('freeCustomPokerTemplatesRemaining')
.execute()

await pg.destroy()
}

0 comments on commit 79e67cd

Please sign in to comment.