Skip to content

Commit

Permalink
Merge pull request #139 from sadmann7/better-schema
Browse files Browse the repository at this point in the history
feat: better schema
  • Loading branch information
sadmann7 authored May 26, 2024
2 parents 2923f4a + d335bca commit 4e67054
Show file tree
Hide file tree
Showing 43 changed files with 1,390 additions and 2,143 deletions.
3 changes: 0 additions & 3 deletions drizzle.config.ts
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
169 changes: 0 additions & 169 deletions drizzle/0000_condemned_hedge_knight.sql

This file was deleted.

Loading

0 comments on commit 4e67054

Please sign in to comment.