Postgres dynamic schema selecter
Issue #27
new
We have a lot of on growing schemas in Postgres with all the same tables and I like to know if its possible to select or set a schema before the migration starts?
Now it targets the "default"-schema or we have to hard-code it in the .sql-file?
Thanks
Comments (5)
-
reporter -
repo owner cool - would it make sense to integrate that code into the main tree? if you're up for submitting a pull request, that'd be great.
-
reporter Yup I will do.
I'll make it first bug-free before I commit all the changes ;)
-
+1 for needing this feature - thanks!
-
reporter Done! Created a pull request :)
- Log in to comment
Nevermind, I updated the code a little bit.
Now I can set the schema-name (search-path). goose -schema=[schemaname]
Thanks