-
-
Notifications
You must be signed in to change notification settings - Fork 34
Add option to set a PostgreSQL schema #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
It's frustrating that this isn't part of the SQLAlchemy URL format! Thanks for the fix, looks good. |
README.md
Outdated
|
|
||
| db-to-sqlite "postgresql://localhost/myblog" blog.db \ | ||
| --all \ | ||
| --postgres_schema my_schema |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny change: this should be --postgres-schema for consistency with the --index-fks and --no-index-fks options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, updated!
|
Any chance this can be merged? |
shedworth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me :)
|
This looks great, thank you very much! |
Without this change, you can't use
db-to-sqliteto copy tables that are in a Postgres schema other than the default onepublic.