https://supabase.com/ logo
#help
Title
# help
u

4Omin

05/01/2022, 2:46 PM
how can I save / restore a superbase to a git repo (mainly the table structure)?
n

Needle

05/01/2022, 2:46 PM
Hello @4Omin! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
u

4Omin

05/01/2022, 2:49 PM
or whats the best practice for local offline development but collaborating over git, I would prefer some small script/commands instead of a long readme that tells others what buttons to press in the ui
the examples use a [schema.sql](https://github.com/supabase/supabase/blob/master/examples/user-management/react-user-management/schema.sql), is there an easy way to generate that from a supabase project
t

tourdownunder

05/01/2022, 2:58 PM
The process of keeping the table structure up to date is called Database Migrations. A good post talking about one of the techniques is https://supabase.com/blog/2021/03/31/supabase-cli
n

Needle

05/01/2022, 2:58 PM
4Omin (2022-05-01)
t

tourdownunder

05/01/2022, 3:03 PM
u

4Omin

05/01/2022, 3:06 PM
ah very nice I'll try that