From: Federico T Date: Fri, 15 Feb 2019 18:11:51 +0000 (-0300) Subject: Update documentation for Config X-Git-Tag: rel_1_0_8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb14eeca8dee9d7ec3b2ef2db2d11a329e84abe;p=thirdparty%2Fsqlalchemy%2Falembic.git Update documentation for Config Replace "url" with "sqlalchemy.url" in example use of Config object. Change-Id: Ib1179885ea82322b9838d6889d937400c96e207e Fixes: #536 --- 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::