Skip to content

Commit

Permalink
no need to drop schema anymore since we're truncating
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiAbdou committed Apr 3, 2024
1 parent 8ece27a commit d287b9f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ export async function setup() {
}

export async function teardown() {
await db.schema.dropSchema('public').cascade().execute();
await db.schema.createSchema('public').execute();
await db.destroy();
}

0 comments on commit d287b9f

Please sign in to comment.