We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1982a3b commit 590588eCopy full SHA for 590588e
src/ref_geo/__init__.py
@@ -18,7 +18,7 @@
18
def configure_alembic(alembic_config):
19
alembic_config.set_main_option("sqlalchemy.url", current_app.config["SQLALCHEMY_DATABASE_URI"])
20
version_locations = alembic_config.get_main_option("version_locations", default="").split()
21
- for entry_point in entry_points("alembic", "migrations"):
+ for entry_point in entry_points(group="alembic", name="migrations"):
22
version_locations += [entry_point.value]
23
alembic_config.set_main_option("version_locations", " ".join(version_locations))
24
return alembic_config
0 commit comments