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'