| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function up(Schema $schema) |
||
| 18 | { |
||
| 19 | $this->abortIf( |
||
| 20 | $this->connection->getDatabasePlatform()->getName() != 'mysql', |
||
| 21 | 'Migration can only be executed safely on \'mysql\'.' |
||
| 22 | ); |
||
| 23 | |||
| 24 | $this->addSql(" |
||
| 25 | UPDATE sys_menu SET href = 'page/impressum' WHERE menustring ='MNU_START_IMPRINT'; |
||
| 26 | UPDATE sys_menu SET href = 'page/tos' WHERE menustring ='MNU_START_TOS'; |
||
| 27 | |||
| 28 | INSERT INTO page_groups (slug, meta_keywords, meta_description, meta_social, last_changed, active) |
||
| 29 | VALUE ('impressum','','','',now(),1); |
||
| 30 | |||
| 31 | INSERT INTO page_groups (slug, meta_keywords, meta_description, meta_social, last_changed, active) |
||
| 32 | VALUE ('tos','','','',now(),1); |
||
| 33 | "); |
||
| 34 | } |
||
| 35 | |||
| 46 |