1 | <?php |
||
15 | class Version20150615171900 extends AbstractMigrationChamilo |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @param Schema $schema |
||
20 | */ |
||
21 | public function up(Schema $schema) |
||
22 | { |
||
23 | $this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type INTEGER NOT NULL DEFAULT 1'); |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param Schema $schema |
||
28 | */ |
||
29 | public function down(Schema $schema) |
||
30 | { |
||
31 | $this->addSql('ALTER TABLE c_course_description CHANGE description_type description_type BOOLEAN NOT NULL'); |
||
32 | } |
||
33 | |||
34 | } |
||
35 |