将Supabase作为基础设施即代码进行版本控制管理。

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

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.

huangapple
  • 本文由 发表于 2023年7月27日 14:51:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/76777140.html
匿名

发表评论

匿名网友

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

确定