Example #1
0
    def __init__(self, logger = None, dbi = None):
        """
        _init_

        Call the base class's constructor and add all necessary tables for
        deletion,
        """
        MySQLDestroy.__init__(self, logger, dbi)

        j=50
        for i in Create.sequence_tables:
            seqname = i
            self.delete["%s%s" % (j, seqname)] = \
                           "DROP SEQUENCE %s"  % seqname
Example #2
0
    def __init__(self):

        BaseDAO.__init__(self)

        self.delete["04tp_queued_process"] = "DROP TABLE tp_queued_process_enum"