Anyone know if there is a way to share the schema ...
# off-topic
b
Anyone know if there is a way to share the schema of my supabase table. For context I have a DB created for an open source project and want to easy share context for the structure of the db without granting access to my DB directly. The end goal is to include context in docs.
s
You can use a postgres client to export the database schema, I normally use migrations to create my schemas so its easier to share my projects with others.
My waiting list app example is one where I'm using migrations https://github.com/silentworks/waiting-list
b
thanks this is a extremely helpful
m
And if you wanna create a migration system that works both on your dev and prod I created this boilerplate: https://github.com/moein/supabase-migration