@@ 9-11 (lines=3) @@ | ||
6 | { |
|
7 | public function up() |
|
8 | { |
|
9 | if ($this->db->driverName === 'mysql' || $this->db->driverName === 'mariadb') { |
|
10 | $this->alterColumn('{{%cart}}', 'cartData', 'longtext'); |
|
11 | } |
|
12 | } |
|
13 | ||
14 | public function down() |
|
@@ 16-18 (lines=3) @@ | ||
13 | ||
14 | public function down() |
|
15 | { |
|
16 | if ($this->db->driverName === 'mysql' || $this->db->driverName === 'mariadb') { |
|
17 | $this->alterColumn('{{%cart}}', 'cartData', $this->text()); |
|
18 | } |
|
19 | } |
|
20 | } |
|
21 |