Skip to content

Commit

Permalink
fix: drop pgboss
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed May 2, 2024
1 parent 6173678 commit f1d3e27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/graphql/src/infra/database/Db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class Db {
const query = sql`
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
DROP SCHEMA pgboss CASCADE;
`;

console.log('🚨 Cleaning database...');
Expand Down
1 change: 1 addition & 0 deletions packages/graphql/src/infra/server/Program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class Program {
handler: async () => {
await db.connect();
await db.clean();
await queue.clearStorage();
await db.close();
},
})
Expand Down

0 comments on commit f1d3e27

Please sign in to comment.