This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
generated from NezuChan/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate cache to posgre (#326)
* chore: partial migration to postgre * feat: working session resuming * fix: properly resume and saving session Co-authored-by: Vann <[email protected]> * chore: updates Co-authored-by: Vann <[email protected]> * feat: add database new schema (#328) * chore: updates Co-authored-by: Vann <[email protected]> * chore: updates * chore: updates * fix: remove guilds relation * feat: add more caches (#330) * fix: typo on progress bar * feat: cache key --------- Co-authored-by: Vann-Dev <[email protected]> * fix: we dont need embed at this time * fix: remove unused cache * feat: everything working as expected Co-authored-by: Vann <[email protected]> * fix: update return type * chore: regen lock --------- Co-authored-by: Vann <[email protected]>
- Loading branch information
Showing
50 changed files
with
2,236 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import process from "node:process"; | ||
import type { Config } from "drizzle-kit"; | ||
|
||
export default { | ||
schema: "./dist/schema/index.js", | ||
out: "./drizzle", | ||
driver: "pg", | ||
dbCredentials: { | ||
connectionString: process.env.DATABASE_URL! | ||
} | ||
} satisfies Config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.