-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Improve drizzle-orm SQLite default template #484
Comments
You are right. Either we should remove
You are right!
Does not only apply to the
I guess that makes sense technically, but have you already encountered such a use-case? Using
I might be asking strange questions today, but I'm currently unable to reproduce this. I used the minimal template with the js option, and even
Same as above. Would appreciate your PR, but I would suggest to wait until #380 is merged to avoid merge conflicts. |
It works in Vitest because it's basically Vite which imports env files accordingly. Reference https://vite.dev/guide/env-and-mode
// var process: NodeJS.Process - works in macOS out-of-the-box
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
|
Oh yeah, able to reproduce 4. now 👍 |
For some reason, installing
|
Ok, then let's add Now that #380 is merged, issues 3. and 6. should not be happening anymore. |
I don't have multiple Windows environments to test from, and I can always install |
As for the |
As of Svelte CLI v0.6.26
db:generate
is not included in the scripts:schema.ts
file:drizzle.config.ts
file:loadEnvFile
should probably be called in thedrizzle.config.ts
file:@types/node
should probably be installed out-of-the box.src\lib\server\db\index.ts
file:Are there reasons behind these decisions? If not, I would love to create a PR.
The text was updated successfully, but these errors were encountered: