WaspW
Wasp2y ago
fred-123

Getting stuck at Setting up database after configuring external postgresdb

I am in dev and have entered a postgresql hosted with supabase in .env.server. I have tested the connectoin through terminal and it works without problem.

I ran the following commands:

rm -r migrations/
wasp clean
wasp db migrate-dev


at the last command it always gets stuck at the step: 🐝 --- Setting up database... -----------------------------------------------------

What am i doing wrong?

I have the default lines in main.wasp:


db: {
system: PostgreSQL,
// Run wasp db seed to seed the database with the seed functions below:
seeds: [
// Populates the database with a bunch of fake users to work with during development.
import { devSeedUsers } from "@src/server/scripts/usersSeed.js",
]
},
Was this page helpful?