9 lines
259 B
Markdown
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 |