17 lines
335 B
Python
17 lines
335 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
if str(ROOT) not in sys.path:
|
|
sys.path.insert(0, str(ROOT))
|
|
|
|
from scripts.run_migrations import main as run_migrations_main
|
|
|
|
|
|
def main(env=None) -> int:
|
|
return run_migrations_main(env=env)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|