)
super(MSSQLImpl, self).drop_column(table_name, column)
-class _ExecDropConstraint(ClauseElement, Executable):
+class _ExecDropConstraint(Executable, ClauseElement):
def __init__(self, tname, colname, type_):
self.tname = tname
self.colname = colname
self.type_ = type_
-class _ExecDropFKConstraint(ClauseElement, Executable):
+class _ExecDropFKConstraint(Executable, ClauseElement):
def __init__(self, tname, colname):
self.tname = tname
self.colname = colname
def _exec(self, construct, *args, **kw):
if isinstance(construct, string_types):
construct = text(construct)
+ assert construct.supports_execution
sql = text_type(construct.compile(dialect=self.dialect))
sql = re.sub(r'[\n\t]', '', sql)
self.assertion.append(