23 lines
494 B
PHP
23 lines
494 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Phinx\Migration\AbstractMigration;
|
|
|
|
final class FixPropagationCollation extends AbstractMigration
|
|
{
|
|
public function up(): void
|
|
{
|
|
$this->execute(
|
|
"ALTER TABLE propagation CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"
|
|
);
|
|
}
|
|
|
|
public function down(): void
|
|
{
|
|
$this->execute(
|
|
"ALTER TABLE propagation CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci"
|
|
);
|
|
}
|
|
}
|