Fix Version20170608164500 migration for data type - refs BT#12874

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent fc6c147f0d
commit 246a2732a2
  1. 4
      app/Migrations/Schema/V111/Version20170608164500.php

@ -24,7 +24,7 @@ class Version20170608164500 extends AbstractMigrationChamilo
$schema
->getTable('c_quiz_question')
->getColumn('type')
->setType(Type::INTEGER);
->setType(Type::getType(Type::INTEGER));
}
/**
@ -35,6 +35,6 @@ class Version20170608164500 extends AbstractMigrationChamilo
$schema
->getTable('c_quiz_question')
->getColumn('type')
->setType(Type::BOOLEAN);
->setType(Type::getType(Type::BOOLEAN));
}
}

Loading…
Cancel
Save