Closed bloo closed 5 years ago
Follow up - this works for configuring access during run but fails during migration - it's the migration code that does not honor the port:
import mara_db.auto_migration
...
mara_db.auto_migration.auto_discover_models_and_migrate()
There was a bug in the automigration script in mara/mara-db, which is fixed in master: https://github.com/mara/mara-db/pull/12 -> bugreport is here: https://github.com/mara/mara-db/issues/11 -> is that your error message? If so, as a workaround, please update mara-db to master. If not, please post it here so we can see whats wrong here...
If the problem still exists, please update mara_db package
Passing a port (as an int or a string) isn't honored as it runs against
5432
no matter what you pass in to the constructor.