https://supabase.com/ logo
Hi guys just wanna ask what's the best way to hand...
# help
k
Hi guys just wanna ask what's the best way to handle migrations? We've used graphile-migrate prior to moving to supabase, and I don't like how supabase cli diff works. Are there any alternatives that works well with supabase? (Purely for migration purposes)
n
Hello @Kakima! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! 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.
s
You can use any database migration tool with supabase. I have used both ley and knex for migrations. ley is purely a migration runner while knex is a migration runner along with a database DSL to write your migrations in.
Ley can be found https://github.com/lukeed/ley and a example of its use can be found in this project https://github.com/silentworks/waiting-list/tree/main/migrations