From a10409cb744ea90afee3378bbab310ce0c34898e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 22 Jul 2013 13:15:45 +0200 Subject: [PATCH] Add missing migration to remove active field on move line review975003 (transplanted from 599d686c4cd2c223e4b3e1127357dac6036d3a59) --- move.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/move.py b/move.py index cff5c53240..ba76fb351f 100644 --- a/move.py +++ b/move.py @@ -551,8 +551,10 @@ class Line(ModelSQL, ModelView): # Migration from 1.2 table.not_null_action('blocked', action='remove') - # Migration from 2.4: remove name + # Migration from 2.4: remove name, active table.not_null_action('name', action='remove') + table.not_null_action('active', action='remove') + table.index_action('active', action='remove') @classmethod def default_date(cls):