Remove migration before 3.0
issue6470 review52421002
This commit is contained in:
@@ -63,9 +63,6 @@ class Address(DeactivableMixin, sequence_ordered(), ModelSQL, ModelView):
|
||||
|
||||
table = cls.__table_handler__(module_name)
|
||||
|
||||
# Migration from 2.4: drop required on sequence
|
||||
table.not_null_action('sequence', action='remove')
|
||||
|
||||
# Migration from 4.0: remove streetbis
|
||||
if table.column_exist('streetbis'):
|
||||
value = Concat(
|
||||
|
||||
@@ -101,15 +101,6 @@ class ContactMechanism(
|
||||
'party "%(party)s" is not valid .'),
|
||||
})
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
super(ContactMechanism, 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')
|
||||
|
||||
@staticmethod
|
||||
def default_type():
|
||||
return 'phone'
|
||||
|
||||
Reference in New Issue
Block a user