Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\User\Migrations;
|
||||
|
||||
use App\Framework\Database\ConnectionInterface;
|
||||
use App\Framework\Database\Migration\Migration;
|
||||
use App\Framework\Database\Migration\MigrationVersion;
|
||||
|
||||
final readonly class CreateUsersTable implements Migration
|
||||
{
|
||||
|
||||
public function up(ConnectionInterface $connection): void
|
||||
{
|
||||
$connection->query("CREATE TABLE IF NOT EXISTS users (
|
||||
$connection->query(
|
||||
"CREATE TABLE IF NOT EXISTS users (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
ulid BINARY(16) NOT NULL UNIQUE,
|
||||
name VARCHAR(255) NOT NULL
|
||||
@@ -24,9 +26,9 @@ final readonly class CreateUsersTable implements Migration
|
||||
$connection->query("DROP TABLE users");
|
||||
}
|
||||
|
||||
public function getVersion(): string
|
||||
public function getVersion(): MigrationVersion
|
||||
{
|
||||
return "001";
|
||||
return MigrationVersion::fromTimestamp("2024_01_15_000001");
|
||||
}
|
||||
|
||||
public function getDescription(): string
|
||||
|
||||
Reference in New Issue
Block a user