Migraciones
This commit is contained in:
12
db/migrations/20210315223928_inicial_load.php
Normal file
12
db/migrations/20210315223928_inicial_load.php
Normal 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';");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user