如何将生产Supabase数据库中的数据提取到本地Supabase数据库中

huangapple go评论47阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年2月26日 21:36:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/75572348.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定