gruby refaktor otyły panie

This commit is contained in:
Sebastian Molenda
2026-05-13 22:43:29 +02:00
parent 0b23946116
commit 0e62b61188
2553 changed files with 0 additions and 532195 deletions
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
// phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace
final class CreateContentsTable extends AbstractMigration
{
public function up()
{
$table = $this->table('contents');
$table->addColumn('key', 'string')
->addColumn('content', 'text')
->save();
}
public function down()
{
$this->table('contents')->drop()->save();
}
}