https://supabase.com/ logo
Strange Migration Created [CREATE INDEX refresh_token_session_id...]
g

Grantly

05/25/2023, 2:56 PM
I have always enjoyed using the cli's diff tool to create migrations, recently; however, it is behaving very strangely. I have updated to the newest version of the cli and this is still happening. Maybe I am missing something obvious? I have made a very small change to my local database (I am hoping to push this live), namely the addition of one column "Title" to my "Section" table. Yet, when I run ...diff... I get an 87 line migration starting with "CREATE INDEX refresh_token_session_id ON auth.refresh_tokens USING btree (session_id);" and absolutely no reference to the new column I added on my "Section" Table. Has anyone ever seen something like this?