File tree Expand file tree Collapse file tree 7 files changed +4
-5
lines changed
Expand file tree Collapse file tree 7 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 paths :
66 - ' app/**'
7- - ' alembic_db/**'
87 - ' tests-assets/**'
98 - ' .github/workflows/test-assets.yml'
109 - ' requirements.txt'
Original file line number Diff line number Diff line change 33[alembic]
44# path to migration scripts
55# Use forward slashes (/) also on windows to provide an os agnostic path
6- script_location = alembic_db
6+ script_location = app/ alembic_db
77
88# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
99# Uncomment the line below if you want the files to be prepended with date and time
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2626
2727def _root_paths ():
2828 """Resolve alembic.ini and migrations script folder."""
29- root_path = os .path .abspath (os .path .join ( os . path . dirname (__file__ ), "../.." ))
30- config_path = os .path .abspath (os .path .join (root_path , "alembic.ini" ))
31- scripts_path = os .path .abspath (os .path .join (root_path , "alembic_db" ))
29+ root_path = os .path .abspath (os .path .dirname (__file__ ))
30+ config_path = os .path .abspath (os .path .join (root_path , "../../ alembic.ini" ))
31+ scripts_path = os .path .abspath (os .path .join (root_path , "../ alembic_db" ))
3232 return config_path , scripts_path
3333
3434
You can’t perform that action at this time.
0 commit comments