Browse Source

[FIX] migration scripts

pull/743/head
mreficent 6 years ago
parent
commit
ba38d2481b
  1. 1
      base_location/migrations/12.0.1.0.0/post-migration.py

1
base_location/migrations/12.0.1.0.0/post-migration.py

@ -9,6 +9,7 @@ from openupgradelib import openupgrade
def migrate(env, version):
column_name = openupgrade.get_legacy_name('better_zip_id')
openupgrade.logged_query(
env.cr,
"ALTER TABLE res_city_zip ADD %s INTEGER", (AsIs(column_name), ),
)
openupgrade.logged_query(

Loading…
Cancel
Save