英文:
Manage Supabase as an infrastructure-as-a-code for version control
问题
我想要能够将我的Supabase项目作为代码进行管理,包括SQL表、函数、认证等方面。
目的是让我能够对项目进行版本控制。
我已经查阅了官方文档,但没有找到相关内容。最接近的方法是将使用的所有SQL代码进行版本控制,但这对于生产目的来说并不令人放心。
英文:
I want to be able to manage my Supabase project as a code, with regards to the SQL tables, the functions, auth, et cetera.
The purpose is to allow myself to version control the project.
I have gone through the official documentation and have not found anything pertaining to this. The closest approach I can find is simply version controlling all the SQL code being used - but that is not reassuring for production purposes.
答案1
得分: 1
除了一些与身份验证相关的功能之外,您提到的所有内容都可以使用Supabase CLI及其迁移功能来完成。网站上有一份指南,解释了如何管理此类设置的环境。https://supabase.com/docs/guides/cli/managing-environments
英文:
Everything (except for some auth related features) you mentioned can be done with the Supabase CLI and it's migration capabilities. There is a guide on thw website explaining how to manage environments for this sort of setup https://supabase.com/docs/guides/cli/managing-environments.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论