| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function down() |
||
| 30 | { |
||
| 31 | $this->dropForeignKey( |
||
| 32 | 'fk_screen_template_template_background1', |
||
| 33 | 'screen_template' |
||
| 34 | ); |
||
| 35 | |||
| 36 | $this->addForeignKey( |
||
| 37 | 'fk_screen_template_template_background1', |
||
| 38 | 'screen_template', |
||
| 39 | 'background_id', |
||
| 40 | 'template_background', |
||
| 41 | 'id', |
||
| 42 | 'CASCADE', |
||
| 43 | 'CASCADE' |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |