I created the following migration:
final class UpdateApiClientType extends AbstractMigration
{
public function up(): void
{
$this->execute("UPDATE Api_Clients SET Type = 'ibe' WHERE ClientName = 'Test'");
}
function down(): void
{
$this->execute("UPDATE Api_Clients SET Type = 'ota' WHERE ClientName = 'Test'");
}
}
The phinx migrate executed well. My phinxlog table contains:
20250523065423|UpdateApiClientType|2025-05-23 09:03:18|2025-05-23 09:03:18|0
However when I execute phinx rollback -t 20250523065423 I get:
No migrations to rollback
Any ideas?