Streamability
Streamability copied to clipboard
💡 Research & document efficient DB schema workflow
DB requires nonoptimal and time-consuming maintenance when updating the schema.
The current workflow is as follows:
- Delete
profilestable - Delete
users. - Delete
on_auth_user_createdtrigger
This results in a inefficient workflow and deleting users may cause unexpected hiccups especially if more devs contribute to the project.
This can now be done using the Supabase CLI. We can create and test DB migrations locally and then push the migration up to the shared DB. We could even wrap this in a workflow when new migrations are detected in merges to dev/main.