Пример #1
0
    def execute(self, conn = None, transaction = None):
        for i in self.create.keys():
            self.create[i] = self.create[i] + " ENGINE=InnoDB"
            self.create[i] = self.create[i].replace('INTEGER', 'INT(11)')

        return CreateWMBSBase.execute(self, conn, transaction)
Пример #2
0
 def execute(self, conn = None, transaction = None):
     for i in self.create.keys():
         self.create[i] = self.create[i].replace('AUTO_INCREMENT', 'AUTOINCREMENT')
         
     return CreateWMBSBase.execute(self, conn, transaction)
Пример #3
0
    def execute(self, conn=None, transaction=None):
        for i in self.create.keys():
            self.create[i] += " ENGINE=InnoDB"
            self.create[i] = self.create[i].replace('INTEGER', 'INT(11)')

        return CreateWMBSBase.execute(self, conn, transaction)
Пример #4
0
    def execute(self, conn=None, transaction=None):
        for i in self.create.keys():
            self.create[i] += " ENGINE=InnoDB ROW_FORMAT=DYNAMIC"

        return CreateWMBSBase.execute(self, conn, transaction)