Exemple #1
0
 def visit_migrate_check_constraint(self, *p, **k):
     raise exceptions.NotSupportedError(
         "MySQL does not support CHECK"
         " constraints, use triggers instead.")
Exemple #2
0
 def visit_index(self, param):
     # If MySQL can do this, I can't find how
     raise exceptions.NotSupportedError("MySQL cannot rename indexes")
Exemple #3
0
 def _not_supported(self, op):
     raise exceptions.NotSupportedError(
         "SQLite does not support "
         "%s; see http://www.sqlite.org/lang_altertable.html" % op)
Exemple #4
0
 def cascade_constraint(self, constraint):
     """Cascading constraints is not supported"""
     raise exceptions.NotSupportedError(
         "Firebird does not support cascading constraints")
Exemple #5
0
 def _visit_column_nullable(self, table, column, delta):
     """Changing NULL is not supported"""
     # TODO: http://www.firebirdfaq.org/faq103/
     raise exceptions.NotSupportedError(
         "Firebird does not support altering NULL behavior.")
Exemple #6
0
 def visit_table(self, table):
     """Rename table not supported"""
     raise exceptions.NotSupportedError(
         "Firebird does not support renaming tables.")