supabase migration script

supabase migration script at https://www.better-auth.com/docs/guides/supabase-migration-guide#copy-the-migration-script is static, so if there are any changes to the schema it breaks. e.g. if i set generateId for the database in auth.ts to "uuid", it still tries to insert nanoid's in the accounts table. same for if i have email/password disabled.

might be worth adding some documentation around this for LLMs to catch this upfront; might even be a good idea to suggest using uuid as the default id type for those coming over from supabase auth.
A step-by-step guide to transitioning from Supabase Auth to Better Auth.
Was this page helpful?