-
Notifications
You must be signed in to change notification settings - Fork 762
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from sadmann7/better-schema
feat: better schema
- Loading branch information
Showing
43 changed files
with
1,390 additions
and
2,143 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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
import { env } from "@/env.js" | ||
import { type Config } from "drizzle-kit" | ||
|
||
import { dbPrefix } from "@/lib/constants" | ||
|
||
export default { | ||
schema: "./src/db/schema/index.ts", | ||
dialect: "postgresql", | ||
out: "./drizzle", | ||
dbCredentials: { | ||
url: env.DATABASE_URL, | ||
}, | ||
tablesFilter: [`${dbPrefix}_*`], | ||
} satisfies Config |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.