Migraciones

This commit is contained in:
2021-03-16 00:43:14 -03:00
parent bfaf2b354e
commit cd6a949e23
7 changed files with 682 additions and 2 deletions

View File

@ -0,0 +1,12 @@
<?php
use Phinx\Db\Adapter\MysqlAdapter;
class InicialLoad extends Phinx\Migration\AbstractMigration
{
public function change()
{
$this->execute("ALTER DATABASE CHARACTER SET 'utf8mb4';");
$this->execute("ALTER DATABASE COLLATE='utf8mb4_general_ci';");
}
}