servermodel/README.md

9 lines
259 B
Markdown
Raw Permalink Normal View History

2024-08-25 12:20:21 +08:00
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