Skip to content

Commit

Permalink
fix: kysely db should be generic
Browse files Browse the repository at this point in the history
  • Loading branch information
acro5piano committed Jun 16, 2024
1 parent acdb3c2 commit b964cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const migrationFolder = new URL('../migrations', import.meta.url).pathname
// For CJS environment
// const migrationFolder = path.join(__dirname, '../migrations')

const db = new Kysely({
const db = new Kysely<YourDbType>({
dialect: new PostgresDialect({
pool: new pg.Pool({
connectionString: process.env.DATABASE_URL,
Expand Down

0 comments on commit b964cfa

Please sign in to comment.