From 246a2732a25efd58f8e12d98c36c094503f9e781 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Thu, 8 Jun 2017 16:52:46 -0500 Subject: [PATCH] Fix Version20170608164500 migration for data type - refs BT#12874 --- app/Migrations/Schema/V111/Version20170608164500.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Migrations/Schema/V111/Version20170608164500.php b/app/Migrations/Schema/V111/Version20170608164500.php index ef8c0dbad8..c596fd698f 100644 --- a/app/Migrations/Schema/V111/Version20170608164500.php +++ b/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)); } }