英文:
How to pull data from my production supabase database into my local supabase database
问题
我一直在尝试解决这个问题,我找不到关于这个特定问题的文档。我已经设置好了一切,项目已经链接,Docker正在运行,但我无法弄清楚如何从Supabase门户中的生产数据库中提取数据到我的本地环境中的数据库。
非常感谢任何形式的帮助。
英文:
I have been trying to fix this problem, I could not search any documentation for this specific problem. I have everyhing setup, the project is linked, the docker is running, I just can not figure out the way to pull data from my production database in supabase portal into my database in local environment
Any form of help is appreciated
答案1
得分: 1
你可以使用 supabase db remote commit
来捕获使你的本地数据库与远程 Supabase 项目模式匹配所需的任何更改。链接:https://supabase.com/docs/guides/cli/local-development#link-your-project
英文:
You can use supabase db remote commit
to capture any changes required for your local database to match the schema of your remote Supabase project.: https://supabase.com/docs/guides/cli/local-development#link-your-project
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论