-
Notifications
You must be signed in to change notification settings - Fork 8
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
Regarding changing from storing data in local machine to storing data in supabase's servers #6
Comments
Hi, You can follow these steps:
cd server/scripts && psql --single-transaction --variable ON_ERROR_STOP=1 --file tables.sql --file auth.sql --file rpc.sql --file folders.sql --file documents.sql --file shares.sql --file cron.sql --file realtime.sql --file storage.sql --dbname "postgres:..." && cd ../..
Hope it helps you! (Let me know if you need more details) |
The project does use Docker. How can I remove docker, and from storing everything on local machine to use supabase's Databases to store all the data including auth? and some projects use SUPABASE_DB_URL in .env but this project doesn't. How can I change all this WITHOUT need to run this command: **cd server/scripts && psql --single-transaction --variable ON_ERROR_STOP=1 --file tables.sql --file auth.sql --file rpc.sql --file folders.sql --file documents.sql --file shares.sql --file cron.sql --file realtime.sql --file storage.sql --dbname "postgres:..." && cd ../.. ** Thank you:) |
Sorry for my late reply, The To run the different scripts it's easier to run the command you mentioned, as running each script manually on supabase SQL editor probably won't work because of relations... You should try to connect to supabase with psql and run the command. Hope it helps! |
Thank you brother! I will check and drop the results. |
Hi, I need to store the data in Supabase's servers rather than storing it in my local machine. How can i do that? which file in source code should i change?
Thank you!
The text was updated successfully, but these errors were encountered: