From ba38d2481bde1752697a2ea41d5ee5e986589160 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 24 May 2019 15:32:58 +0200 Subject: [PATCH] [FIX] migration scripts --- base_location/migrations/12.0.1.0.0/post-migration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/base_location/migrations/12.0.1.0.0/post-migration.py b/base_location/migrations/12.0.1.0.0/post-migration.py index 3f8ba212a..aee54faf0 100644 --- a/base_location/migrations/12.0.1.0.0/post-migration.py +++ b/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(