11
Is there a way to export to SQL file for Tables/Functions for addition to codebase?
Source: supabase/supabase#1266 · opened by @nruffilo
I maintain my own .sql file with the commands to completely replicate/recreate a project that I'm working on. This allows all developers (it's an open source project) to create their own supabase instance to test locally and work on their own dev/local version. But, it would be much easier if I could just run a command and export all my table structures (no data) and functions so that I can guarantee that what I have is the latest and working. Is that possible? Additionally, is there any way to link a github repo to a database instance so that it keeps the structure in the code repo?
Thank you!
Thank you!
No pledges yet. Be the first to back this.
Comments
Similar requests
Seed folder instead of / in addition to seed.sql file (backwards compatible)
2 votes · 0 comments
Add schema-aware Functions, Args, and Returns helper types to generated Supabase TypeScript types
1 vote · 0 comments
Expose API method/interface to execute raw SQL Query
6 votes · 0 comments
PROCEDUREs aren't shown in the Functions view
6 votes · 0 comments
Export SQL statements in Table Editor
9 votes · 0 comments
No comments yet.