phinx add

This commit is contained in:
2026-07-29 15:27:57 +02:00
parent f7301024bc
commit 764d8caed9
13 changed files with 2705 additions and 27 deletions
@@ -0,0 +1,17 @@
<?php
use Phinx\Migration\AbstractMigration;
final class CreatePhinxTestTable extends AbstractMigration
{
public function change(): void
{
$this->table('phinx_test')
->addColumn('nome', 'string', ['limit' => 50, 'null' => false])
->addColumn('created_at', 'datetime', [
'default' => 'CURRENT_TIMESTAMP',
'null' => false,
])
->create();
}
}