259 B
259 B
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