public function alterTagColumnSize()
    {
        $Tags = $this->loadModel('MeCms.Tags');

        if ($Tags->getSchema()->getColumn('tag')['length'] < 255) {
            $Tags->getConnection()->execute('ALTER TABLE tags MODIFY tag varchar(255) NOT NULL');
        }
    }
public function alterTagColumnSize()
    {
        $Tags = $this->loadModel('MeCms.Tags');

        if ($Tags->getSchema()->getColumn('tag')['length'] < 255) {
            $Tags->getConnection()->execute('ALTER TABLE tags MODIFY tag varchar(255) NOT NULL');
        }
    }
public function alterTagColumnSize ( ) { $ Tags = $ this -> loadModel ( 'MeCms.Tags' ) ; if ( $ Tags -> getSchema ( ) -> getColumn ( 'tag' ) [ 'length' ] < 255 ) { $ Tags -> getConnection ( ) -> execute ( 'ALTER TABLE tags MODIFY tag varchar(255) NOT NULL' ) ; } }
Alter the length of the `tag` column of the `tags` table
@return void
Alter the length of the tag column of the tags table