12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace Application\Migrations\Schema\V110;
- use Application\Migrations\AbstractMigrationChamilo;
- use Doctrine\DBAL\Schema\Schema;
- class Version20150615171900 extends AbstractMigrationChamilo
- {
-
- public function up(Schema $schema)
- {
- $this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type INTEGER NOT NULL DEFAULT 1');
- }
-
- public function down(Schema $schema)
- {
- $this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type BOOLEAN NOT NULL');
- }
- }
|