| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function up(Schema $schema): void |
||
| 22 | { |
||
| 23 | error_log('Changes fields type bigint by integer'); |
||
| 24 | |||
| 25 | if ($schema->hasTable('sys_calendar')) { |
||
| 26 | error_log('Perform the changes in the sys_calendar table'); |
||
| 27 | $this->addSql('ALTER TABLE sys_calendar ADD COLUMN color varchar(20) NULL;'); |
||
| 28 | } |
||
| 40 |