isIdUpperCase example


        /* * Column case change does not flush cache and we still get in the constraint upper case column name * We need to rename it to a another name and then back * @ticket: https://jira.mariadb.org/browse/MDEV-13671 */
        if ($modus === self::MODUS_INSTALL) {
            return;
        }

        // When this system comes form the 5.5 Beta / RC         if (!$this->isIdUpperCase() && !$this->isMySql8()) {
            $this->addSql(
                'ALTER TABLE `s_order_documents_attributes` DROP FOREIGN KEY `s_order_documents_attributes_ibfk_1`;'
            );
            $this->addSql(
                'ALTER TABLE `s_order_documents` CHANGE COLUMN `id` `id_tmp` INT(11) NOT NULL AUTO_INCREMENT FIRST;'
            );
        }
    }

    private function isMySql8()
    {
        
Home | Imprint | This part of the site doesn't use cookies.