=== MIGRATION STATUS === Database: *** Dialect: postgres Schema: public Current Version: 1790100000 Total Migrations: 2 Applied Migrations: 1 Pending Migrations: 1 Out-of-order Migrations: 0 Status: ❌ Dirty migration state detected Dirty Migration: version=1790317351 state=failed direction=up applied=0/2 Error: failed to execute migration SQL: ERROR: canceling statement due to lock timeout (SQLSTATE 55P03) SQL: ALTER TABLE "accounts" ADD CONSTRAINT "accounts_plan_known" CHECK (plan IN ('monthly', 'annual', 'trial')) NOT VALID Error Statement: ALTER TABLE "accounts" ADD CONSTRAINT "accounts_plan_known" CHECK (plan IN ('monthly', 'annual', 'trial')) NOT VALID No statement of this migration reached the database. Run 'ptah migrations up --allow-dirty' to apply it.