Skip to content

Commit

Permalink
fix(db0): remove dispose()
Browse files Browse the repository at this point in the history
  • Loading branch information
zsilbi committed Sep 4, 2024
1 parent a054de1 commit 287a712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
POSTGRESQL_URL=postgresql://postgres:postgres@localhost:5432/test
5 changes: 0 additions & 5 deletions src/drivers/db0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ export default defineDriver((opts: Db0DriverOptions) => {
DELETE FROM {${opts.table}}
`;
}),
dispose: async () => {
await opts.database.sql`
DROP TABLE IF EXISTS {${opts.table}}
`;
},
};
});

Expand Down

0 comments on commit 287a712

Please sign in to comment.