servermodel/README.md
userName ba8e5ee95a lqs
2024-08-25 04:20:21 +00:00

9 lines
259 B
Markdown

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