hello, facing an issue with diff in two databases - please help! Ty
I'm trying to diff two databases - I know there's one additional table in the public schema of the source db, but it doesn't exist in the target db.
and yet, when i do the diff (using pgAdmin4, or the supabase CLI version), it doesn't show up in the diff sql. Any solutions to this please?
4 Replies
I just started working with the CLI today and was trying to use
supabase db diff
this is not a in the list of acceptable commands. It seems like it has moved to supabase db changes
, but I am finding that the --use-migra
and -f
flags do no work on it
output from supabase db diff
not sure if this helps you @rbkayz but I had installed the cli a while back with homebrew and reinstalled with npm and it seems to be working now for me.Thank you @iLikeBikes. will try this again
However, for some reason, whenever I try and diff even with pgAdmin, the public schema doesn't show up at all in the diff. It just shows up as schema objects. Is that normal?

no...? not sure really. are you trying to migrate records or just schema updates
just schema
just can't seem to diff the public schema