Exemplo n.º 1
0
 def visit_migrate_check_constraint(self, *p, **k):
     raise exceptions.NotSupportedError(
         "MySQL does not support CHECK"
         " constraints, use triggers instead.")
Exemplo n.º 2
0
 def visit_index(self, param):
     # If MySQL can do this, I can't find how
     raise exceptions.NotSupportedError("MySQL cannot rename indexes")
Exemplo n.º 3
0
 def _not_supported(self, op):
     raise exceptions.NotSupportedError(
         "SQLite does not support "
         "%s; see http://www.sqlite.org/lang_altertable.html" % op)
Exemplo n.º 4
0
 def cascade_constraint(self, constraint):
     """Cascading constraints is not supported"""
     raise exceptions.NotSupportedError(
         "Firebird does not support cascading constraints")
Exemplo n.º 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.")
Exemplo n.º 6
0
 def visit_table(self, table):
     """Rename table not supported"""
     raise exceptions.NotSupportedError(
         "Firebird does not support renaming tables.")