chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,36 @@
<?php
declare(strict_types=1);
namespace App\Domain\User\Migrations;
use App\Framework\Database\ConnectionInterface;
use App\Framework\Database\Migration\Migration;
final readonly class CreateUsersTable implements Migration
{
public function up(ConnectionInterface $connection): void
{
$connection->query("CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
ulid BINARY(16) NOT NULL UNIQUE,
name VARCHAR(255) NOT NULL
)"
);
}
public function down(ConnectionInterface $connection): void
{
$connection->query("DROP TABLE users");
}
public function getVersion(): string
{
return "001";
}
public function getDescription(): string
{
return "Create Users Table";
}
}