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

How to handle the migration folder with vite config #80

Open
mtt-artis opened this issue Mar 8, 2023 · 0 comments
Open

How to handle the migration folder with vite config #80

mtt-artis opened this issue Mar 8, 2023 · 0 comments

Comments

@mtt-artis
Copy link

I'm very interested in the repo.
How do you handle the migration for the dB with vite ?

I use the kysely FileMigrationProvider which only require the path folder.

In dev mode, path.resolve() resolves on typescript files and cannot be properly handled by the migrator.

In the dist folder, the migration folder is not included because there is no direct import.

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

No branches or pull requests

1 participant