Skip to content

Commit

Permalink
Merge pull request #29 from WXYC/task/package_updates
Browse files Browse the repository at this point in the history
Packages updates, patches for breaking changes, updated npm scripts:
  • Loading branch information
AyBruno authored Sep 28, 2024
2 parents 849bcbb + d8ea59b commit e77914f
Show file tree
Hide file tree
Showing 24 changed files with 4,859 additions and 3,887 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tests/report
dist
.env
.DS_STORE
dev_env
4 changes: 0 additions & 4 deletions drizzle.config.json

This file was deleted.

17 changes: 17 additions & 0 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { config } from 'dotenv';
import { defineConfig } from "drizzle-kit";

config({ path: '.env' });

export default defineConfig({
dialect: "postgresql",
schema: "./src/db/schema.ts",
out: "./src/db/migrations",
dbCredentials: {
user: `${process.env.DB_USERNAME}`,
password: `${process.env.DB_PASSWORD}`,
host: `${process.env.DB_HOST}`,
port: Number(process.env.DB_PORT),
database: `${process.env.DB_NAME}`,
}
});
Loading

0 comments on commit e77914f

Please sign in to comment.