You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by remorses April 1, 2025
I want to use the Supabase database directly instead of a local database, to do that you could add support for a config option dbCommand to get the database uri via stdout
{
"$schema": "./docs/schemas/latest/schema.json",
// get the database uri using dotenv-cli npm package"dbCommand": "dotenv -- bash -c 'echo $DATABASE_URL'",
// get database uri using doppler"dbCommand": "doppler secrets get --plain DATABASE_URL",
}
This allows to get the database url using tools like Doppler or dotenv