goleary
Explore posts from serversHelp with SQLite DB on volume
I have a nextjs app that uses prisma .
my DATABASE_URL="file:./data/history.db"
When i build I get this log:
#12 23.50 4 migrations found in prisma/migrations
#12 23.51 Applying migration
20240406185550_init
#12 23.51 Applying migration 20240406190746_
#12 23.52 Applying migration 20240406190823_rename
#12 23.53 Applying migration 20240406192811_rename_to_celsius
#12 23.55 The following migration(s) have been applied:
#12 23.55 migrations/
#12 23.55 └─ migration.sql
#12 23.55 └─ migration.sql
#12 23.55 └─ migration.sql
#12 23.55 └─ migration.sql
#12 23.55 All migrations have been successfully applied.
When I run the app though i get this:
The table main.WeatherRecord
does not exist in the current database.
If the database_url is being interpreted the same both during build and run why would I be getting this error?
Is anyone else using SQLite via volume attached to their service?27 replies
Importing local dependencies like in in airplane (not from a private npm package)
We have been using airplane.dev, but are giving windmill a try since airplane is being sunset.
In our airplane scripts we were able to import dependencies from our mono repo. In windmill it seems like to use our internal dependencies we'd have to publish them as private npm packages?
Is this the case or is there some way to import them locally?
7 replies
Can't connect to postgres from inflight wifi
I'm trying to dev my web application locally, but I can't connect to my railway postgres db.
I keep getting this error:
I know my db is running because the deployed version of my application works fine.
Any idea how I can get around this (aside from switching to a SQLite db/running postgres while deving locally)?
Thanks!
5 replies