diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 02:46:00 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 02:46:00 +0200 |
| commit | 42d5e59335d97aa0cf165f2aedf8d04f60db9310 (patch) | |
| tree | 5e80fff38d2e197cd9005b0c0e67fe2fba780d96 /cli/app/sql/env.py | |
| parent | 3bcae4c2cfbef73cac81cedbbe74426f17d90099 (diff) | |
comment about import order
Diffstat (limited to 'cli/app/sql/env.py')
| -rw-r--r-- | cli/app/sql/env.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/app/sql/env.py b/cli/app/sql/env.py index 1bf717f..7753565 100644 --- a/cli/app/sql/env.py +++ b/cli/app/sql/env.py @@ -13,6 +13,7 @@ config.set_main_option("sqlalchemy.url", connection_url) target_metadata = Base.metadata +# include the models in reverse dependency order, so relationships work from app.sql.models.tile import Tile from app.sql.models.page import Page from app.sql.models.graph import Graph |
