From 4fb14eeca8dee9d7ec3b2ef2db2d11a329e84abe Mon Sep 17 00:00:00 2001 From: Federico T Date: Fri, 15 Feb 2019 15:11:51 -0300 Subject: [PATCH] Update documentation for Config Replace "url" with "sqlalchemy.url" in example use of Config object. Change-Id: Ib1179885ea82322b9838d6889d937400c96e207e Fixes: #536 --- alembic/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/config.py b/alembic/config.py index a4462eee..f06a25cf 100644 --- a/alembic/config.py +++ b/alembic/config.py @@ -40,7 +40,7 @@ class Config(object): from alembic.config import Config alembic_cfg = Config() alembic_cfg.set_main_option("script_location", "myapp:migrations") - alembic_cfg.set_main_option("url", "postgresql://foo/bar") + alembic_cfg.set_main_option("sqlalchemy.url", "postgresql://foo/bar") alembic_cfg.set_section_option("mysection", "foo", "bar") .. warning:: -- 2.47.2