Add ES country in country zip at upgrade after

This commit is contained in:
Raimon Esteve 2017-03-13 17:45:32 +01:00
parent 33c81cf4ce
commit 1a6dcdbc7c
1 changed files with 3 additions and 0 deletions

View File

@ -125,3 +125,6 @@ after:
- comment: Drop category column
fields: product_template.category
query: ALTER TABLE product_template DROP COLUMN category;
- tables: country_zip
version: 4.0
query: update country_zip set country = (select id from country_country where code = 'ES') where country_zip is null;