Remove migration before 3.0

issue6470
review52421002
This commit is contained in:
Cédric Krier committed 2018-08-09 20:43:51 +02:00
1 parent 028f9fae11
commit 8a3dde0280
2 files changed
-18

No files matched your search

-9
View File
@@ -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')
-9
View File
@@ -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'