| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | const TABLE = '{{%audit_mail}}'; |
||
| 11 | |||
| 12 | public function up() |
||
| 13 | { |
||
| 14 | if ($this->db->driverName === 'mysql') { |
||
| 15 | $this->alterColumn(self::TABLE, 'data', 'LONGBLOB'); |
||
| 16 | } elseif ($this->db->driverName === 'sqlsrv') { |
||
| 17 | $this->alterColumn(self::TABLE, 'data', 'VARBINARY(MAX)'); |
||
| 18 | } else { |
||
| 19 | $this->alterColumn(self::TABLE, 'data', 'BYTEA'); |
||
| 20 | } |
||
| 23 |