From fae7afbba6a6cd342973eca75e2bb6bccf768f95 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 --- move.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/move.py b/move.py index 0509f94488..357e543f1b 100644 --- a/move.py +++ b/move.py @@ -594,8 +594,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):