Skip to content

Commit

Permalink
add src to syspath
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrian Harjati committed Sep 28, 2023
1 parent 9b49ca1 commit ef35ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ script_location = ./db_revisions

# sys.path path, will be prepended to sys.path if present.
# defaults to the current working directory.
prepend_sys_path = .
prepend_sys_path = ./src:.

# timezone to use when rendering the date within the migration file
# as well as the filename.
Expand Down
2 changes: 1 addition & 1 deletion db_revisions/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sqlalchemy import pool

from alembic import context
from src.entities import models
from entities import models

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
Expand Down

0 comments on commit ef35ae9

Please sign in to comment.