skipIf($this->legacyCheck($schema, 'Framadate\Migration\Increase_pollId_size'), 'Migration has been executed in an earlier database migration system'); $commentTable = $schema->getTable(Utils::table('comment')); $commentTable->changeColumn('poll_id', ['type' => Type::getType('string'), 'length' => 64, 'notnull' => true]); $pollTable = $schema->getTable(Utils::table('poll')); $pollTable->changeColumn('id', ['type' => Type::getType('string'), 'length' => 64, 'notnull' => true]); $slotTable = $schema->getTable(Utils::table('slot')); $slotTable->changeColumn('poll_id', ['type' => Type::getType('string'), 'length' => 64, 'notnull' => true]); $voteTable = $schema->getTable(Utils::table('vote')); $voteTable->changeColumn('poll_id', ['type' => Type::getType('string'), 'length' => 64, 'notnull' => true]); } public function down(Schema $schema) { // TODO: Implement down() method. } }