mirror of
https://github.com/odoo/runbot.git
synced 2025-03-17 16:35:47 +07:00
7 lines
166 B
Python
7 lines
166 B
Python
![]() |
from pathlib import Path
|
||
|
|
||
|
def migrate(cr, version):
|
||
|
sql = Path(__file__).parent.joinpath('upgrade.sql')\
|
||
|
.read_text(encoding='utf-8')
|
||
|
cr.execute(sql)
|