Remove migration before 3.0
issue6470 review52421002
This commit is contained in:
1 parent
028f9fae11
commit
8a3dde0280
2 files changed
-18
No files matched your search
@@ -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')
|
||||
@@ -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'
|
||||
Reference in new issue
Block a user