Files
Chamilo/app/Migrations/Schema/V110/Version20150615171900.php
2025-04-10 12:53:50 +02:00

35 lines
840 B
PHP

<?php
/* For licensing terms, see /license.txt */
namespace Application\Migrations\Schema\V110;
use Application\Migrations\AbstractMigrationChamilo;
use Doctrine\DBAL\Schema\Schema;
/**
* Version20150615171900 class
* Change in CCourseDescription entity
*
* @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
*/
class Version20150615171900 extends AbstractMigrationChamilo
{
/**
* @param Schema $schema
*/
public function up(Schema $schema)
{
$this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type INTEGER NOT NULL DEFAULT 1');
}
/**
* @param Schema $schema
*/
public function down(Schema $schema)
{
$this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type BOOLEAN NOT NULL');
}
}