equal
deleted
inserted
replaced
542 self.session, table, column, unique=True) |
542 self.session, table, column, unique=True) |
543 |
543 |
544 |
544 |
545 class SourceDbCWConstraintDel(hook.Operation): |
545 class SourceDbCWConstraintDel(hook.Operation): |
546 """actually remove a constraint of a relation definition""" |
546 """actually remove a constraint of a relation definition""" |
547 rtype = subjtype = objtype = None # make pylint happy |
547 rtype = subjtype = None # make pylint happy |
548 |
548 |
549 def precommit_event(self): |
549 def precommit_event(self): |
550 cstrtype = self.cstr.type() |
550 cstrtype = self.cstr.type() |
551 table = SQL_PREFIX + str(self.subjtype) |
551 table = SQL_PREFIX + str(self.subjtype) |
552 column = SQL_PREFIX + str(self.rtype) |
552 column = SQL_PREFIX + str(self.rtype) |