Skip to content

Using non-sqlx migrations for sqlx::test #3256

Closed Answered by nk9
nk9 asked this question in Q&A
Discussion options

You must be logged in to vote

I have been able to get around this error by adding this line before the create extension command:

create schema if not exists "extensions";

Because Supabase creates databases with an "extensions" schema already, this new command is a no-op for supabase db diff, but gets around the sqlx error.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nk9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant