public function dropAutoIncrementObjects($table)
    {
        // drop sequence and trigger object
        $prefix = $this->connection->getTablePrefix();
        // get the actual primary column name from table
        $col = $this->getPrimaryKey($prefix . $table);
        // if primary key col is set, drop auto increment objects
        if (isset($col) && ! empty($col)) {
            // drop sequence for auto increment
            $sequenceName = $this->createObjectName($prefix, $table, $col, 'seq');
            $this->sequence->drop($sequenceName);

            // drop trigger for auto increment work around
            $triggerName = $this->createObjectName($prefix, $table, $col, 'trg');
            $this->trigger->drop($triggerName);
        }
    }
public function dropAutoIncrementObjects($table)
    {
        // drop sequence and trigger object
        $prefix = $this->connection->getTablePrefix();
        // get the actual primary column name from table
        $col = $this->getPrimaryKey($prefix . $table);
        // if primary key col is set, drop auto increment objects
        if (isset($col) && ! empty($col)) {
            // drop sequence for auto increment
            $sequenceName = $this->createObjectName($prefix, $table, $col, 'seq');
            $this->sequence->drop($sequenceName);

            // drop trigger for auto increment work around
            $triggerName = $this->createObjectName($prefix, $table, $col, 'trg');
            $this->trigger->drop($triggerName);
        }
    }
public function dropAutoIncrementObjects ( $ table ) { // drop sequence and trigger object $ prefix = $ this -> connection -> getTablePrefix ( ) ; // get the actual primary column name from table $ col = $ this -> getPrimaryKey ( $ prefix . $ table ) ; // if primary key col is set, drop auto increment objects if ( isset ( $ col ) && ! empty ( $ col ) ) { // drop sequence for auto increment $ sequenceName = $ this -> createObjectName ( $ prefix , $ table , $ col , 'seq' ) ; $ this -> sequence -> drop ( $ sequenceName ) ; // drop trigger for auto increment work around $ triggerName = $ this -> createObjectName ( $ prefix , $ table , $ col , 'trg' ) ; $ this -> trigger -> drop ( $ triggerName ) ; } }
Drop sequence and triggers if exists, autoincrement objects.

@param  string $table
@return null
Drop sequence and triggers if exists autoincrement objects .