protected function upgradeMeta() { $applied = $this->getAppliedSets(); if (array_search('_metaVersion.isLocked', $applied) === false) { $this->processor->upgradeMeta('ALTER TABLE _metaVersion ADD COLUMN isLocked BOOLEAN NOT NULL DEFAULT FALSE', 'Add lock capability'); $this->processor->metaChange('INSERT INTO _metaChange (name) VALUES (?)', '_metaVersion.isLocked'); } if (array_search('_metaChange.nameLength', $applied) === false) { $this->processor->upgradeMeta('ALTER TABLE _metaChange CHANGE COLUMN name name VARCHAR(128) NOT NULL', 'Increase changeset file length maximum from 64 to 128'); $this->processor->metaChange('INSERT INTO _metaChange (name) VALUES (?)', '_metaChange.nameLength'); } }