From 90a55d5a46d78dca30d4e1b92340a66ea4499fe1 Mon Sep 17 00:00:00 2001 From: rrr-marble Date: Sat, 9 Jul 2022 00:46:44 +0300 Subject: [PATCH] fix: relative module path --- src/migrations/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations/env.py b/src/migrations/env.py index ecdd29a..41a6727 100644 --- a/src/migrations/env.py +++ b/src/migrations/env.py @@ -16,7 +16,7 @@ if config.config_file_name is not None: # add your model's MetaData object here # for 'autogenerate' support -from src.models import Base +from models import Base target_metadata = Base.metadata # target_metadata = None