You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a migration that creates a new schema.
In my DATABASE_URL i have a search path defined: url?search_path=util,public as I want the migrations table in the util schema.
dbmate migrate up works correctly, but only dumps schema's util and public, not the one that was just created from within the migration.
Do I have to add new schema's to the env search path every time i create them to get a full database dump?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I made a migration that creates a new schema.
In my
DATABASE_URL
i have a search path defined:url?search_path=util,public
as I want the migrations table in theutil
schema.dbmate migrate up
works correctly, but only dumps schema'sutil
andpublic
, not the one that was just created from within the migration.Do I have to add new schema's to the env search path every time i create them to get a full database dump?
Beta Was this translation helpful? Give feedback.
All reactions