Flyway: non-empty schema without metadata table
问题 Found non-empty schema "public" without metadata table! Use init() or set initOnMigrate to true to initialize the metadata table. I'm using Postgres 9.2 with Postgis 2.0. This means that by default when I create a new database there will be a table created in public schema called spatial_ref_sys . When I run flyway migrate on this database, I get the above error. Running init seems to create the public.schema_version table and mark version 1 as SUCCEDED without actually running the the