1 | <?php |
||
12 | class Version20150610143426 extends AbstractMigrationChamilo |
||
13 | { |
||
14 | /** |
||
15 | * @param Schema $schema |
||
16 | */ |
||
17 | public function up(Schema $schema) |
||
18 | { |
||
19 | $this->addSql('ALTER TABLE c_tool ADD description LONGTEXT, ADD custom_icon VARCHAR(255) DEFAULT NULL'); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param Schema $schema |
||
24 | */ |
||
25 | public function down(Schema $schema) |
||
26 | { |
||
27 | $this->addSql('ALTER TABLE c_tool DROP description, DROP custom_icon'); |
||
28 | } |
||
29 | } |
||
30 |