Open chetan opened 7 months ago
/cc: @filipecabaco
opening PR π thank you again for flagging this issues
@chetan where are you running the image? supabase docker compose or cli?
ok was able to replicate in the supabase/docker π will test the fix
Merged π
Verified!
thank you so much for reporting and patience π
still encountering this on CLI version 1.165.0
and realtime v2.28.32
still present on CLI 1.176.10
and realtime v2.28.32
@Silur could you share the command and logs so I can try to replicate it?
Bug report
Migrations fail to run properly. Appears to be due to the use of
Mix.env()
introduced in #736.I took a look at fixing this but don't know elixir at all. According to the docs,
Mix.env()
shouldn't be used in production code (i.e., outside the build system), but I do see it being used in other places in the codebase. Not sure why it's throwing here and not elsewhere.To Reproduce
Run the latest realtime image
supabase/realtime:v2.25.32
on an existing instance (likely throws on fresh data as well)