class documentation

class DatabaseValidation(BaseDatabaseValidation):

View In Hierarchy

Undocumented

Method ​_check​_sql​_mode Undocumented
Method check Undocumented
Method check​_field​_type No summary

Inherited from BaseDatabaseValidation:

Method __init__ Undocumented
Method check​_field Undocumented
Instance Variable connection Undocumented
def _check_sql_mode(self, **kwargs):

Undocumented

def check(self, **kwargs):
def check_field_type(self, field, field_type):
MySQL has the following field length restriction: No character (varchar) fields can have a length exceeding 255 characters if they have a unique index on them. MySQL doesn't support a database index on some data types.