==================================================
Flyway: adopting an existing, unmanaged schema
==================================================
captured: 2026-09-15T07:07:29.126413637Z


-- migrate() with no baseline configuration, against a non-empty schema --
FlywayException: Found non-empty schema(s) "PUBLIC" but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table.

-- migrate() with baselineOnMigrate=true, baselineVersion=1 --
installed_rank | version | description                               | type     | success
---------------+---------+-------------------------------------------+----------+--------
-1             | NULL    | << Flyway Schema History table created >> | TABLE    | true   
1              | 1       | pre-flyway schema                         | BASELINE | true   
2              | 2       | add status column                         | SQL      | true   
(3 rows)

-- legacy_account keeps its pre-existing row and gains the new column --
ID | OWNER           | STATUS
---+-----------------+-------
1  | pre-flyway-data | ACTIVE
(1 row)
