You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
358 B

# -*- coding: utf-8 -*-
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
# pragma: no-cover
def migrate(cr, version):
"""Update database from previous versions, before updating module."""
cr.execute(
"ALTER TABLE custom_info_value RENAME COLUMN value TO value_str")