Remove migration before 3.0

issue6470
review52421002
This commit is contained in:
Cédric Krier
2018-08-09 20:43:51 +02:00
parent 836bb8fc08
commit b27276de78
2 changed files with 0 additions and 12 deletions
-3
View File
@@ -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(
-9
View File
@@ -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'