From b50738c2c8e6e144c6f7d9f8d974351b2e9dcc1e 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 ed7cdefe63..c6381c811a 100644 --- a/move.py +++ b/move.py @@ -645,8 +645,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):