From 8a3dde02800d18143826ddbc5300c0cacdb6e23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 9 Aug 2018 20:43:51 +0200 Subject: [PATCH] Remove migration before 3.0 issue6470 review52421002 --- dashboard.py | 9 --------- res.py | 9 --------- 2 files changed, 18 deletions(-) diff --git a/dashboard.py b/dashboard.py index 7f1b01dedc..479ffdcd12 100644 --- a/dashboard.py +++ b/dashboard.py @@ -22,12 +22,3 @@ class DashboardAction(sequence_ordered(), ModelSQL, ModelView): ('groups', '=', None), ], ]) - - @classmethod - def __register__(cls, module_name): - super(DashboardAction, cls).__register__(module_name) - - table = cls.__table_handler__(module_name) - - # Migration from 2.4: drop required on sequence - table.not_null_action('sequence', action='remove') diff --git a/res.py b/res.py index dce60c35ad..e61440a880 100644 --- a/res.py +++ b/res.py @@ -26,15 +26,6 @@ class User(metaclass=PoolMeta): 'dashboard_actions', ] - @classmethod - def __register__(cls, module_name): - super(User, cls).__register__(module_name) - - table = cls.__table_handler__(module_name) - - # Migration from 1.6 - table.not_null_action('dashboard_layout', action='remove') - @staticmethod def default_dashboard_layout(): return 'square'