|
|
@ -12,7 +12,7 @@ class m180821_100724_create_banners_places_table extends Migration |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function safeUp() |
|
|
|
public function safeUp() |
|
|
|
{ |
|
|
|
{ |
|
|
|
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB'; |
|
|
|
$tableOptions = 'CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE=InnoDB'; |
|
|
|
|
|
|
|
|
|
|
|
$this->createTable('{{%banners_places}}', [ |
|
|
|
$this->createTable('{{%banners_places}}', [ |
|
|
|
'id' => $this->primaryKey(), |
|
|
|
'id' => $this->primaryKey(), |
|
|
|