Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(packages/lucia-auth): add lucia auth client #37

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

mpellegrini
Copy link
Owner

No description provided.

@@ -29,7 +29,7 @@ export default defineConfig({
/**
* https://orm.drizzle.team/kit-docs/config-reference#schemafilter
*/
schemaFilter: ['public'],
schemaFilter: ['public', 'auth'],
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in order for push to find the tables in the auth schema

"db:generate": "drizzle-kit generate:pg",
"db:migrate": "node --env-file=.env --import=tsx ./src/migrate.ts",
"db:push": "drizzle-kit push:pg",
"db:generate": "node --import=tsx ./node_modules/drizzle-kit/bin.cjs generate:pg",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to allow Drizzle ORM to process the typescript files without the need to transpile to javascript. Need to run the underlying bin files using TSX instead.

@mpellegrini mpellegrini merged commit 0fbb578 into main Apr 4, 2024
3 checks passed
@mpellegrini mpellegrini deleted the feat/lucia-auth branch April 4, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant