参考
__pycache__ | ||
addons | ||
database | ||
__init__.py | ||
main.py | ||
README.md | ||
requirements.txt | ||
server_1.py | ||
server_2.py | ||
server.conf |
alembic init alembic [sqlalchemy] url = postgresql+psycopg2://user:password@localhost/dbname
import sys import os.path sys.path.append(os.path.realpath('../addons/base/models')) import ir_module_module target_metadata = ir_module_module.Base.metadata