{"id":16818272,"url":"https://github.com/igr/quarkus-flyway-not-working","last_synced_at":"2025-07-14T15:33:58.383Z","repository":{"id":207412559,"uuid":"719174231","full_name":"igr/quarkus-flyway-not-working","owner":"igr","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-15T16:33:33.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T13:33:48.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-15T15:58:32.000Z","updated_at":"2023-11-15T16:33:37.000Z","dependencies_parsed_at":"2023-11-15T17:47:00.008Z","dependency_job_id":"16bc3008-8cae-45b4-b07b-52218d7d116f","html_url":"https://github.com/igr/quarkus-flyway-not-working","commit_stats":null,"previous_names":["igr/quarkus-flyway-not-working"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igr/quarkus-flyway-not-working","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fquarkus-flyway-not-working","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fquarkus-flyway-not-working/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fquarkus-flyway-not-working/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fquarkus-flyway-not-working/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igr","download_url":"https://codeload.github.com/igr/quarkus-flyway-not-working/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fquarkus-flyway-not-working/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265312161,"owners_count":23745179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T10:49:38.396Z","updated_at":"2025-07-14T15:33:58.363Z","avatar_url":"https://github.com/igr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quarkus-flyway-not-working\n\nThis is a simple project to demonstrate that Quarkus 3.5.1 is not running Flyway migrations on all schemas.\n\nSee: https://github.com/quarkusio/quarkus/issues/37080\n\n## Datasource: `default` ✅\n\nThis is a default datasource, that has just one schema: `wiresui`.\nFlyway _creates_ this schema and _runs_ migrations.\n\n## Datasource: `tenants` ❌\n\nThis is tenants datasources, that has two schemas: `foo` and `bar`.\nFlyway _creates_ schemas, but runs migration on the first schema only.\n\nHere is the relevant output of the application:\n\n```\n2023-11-15 17:28:58,945 INFO  [io.qua.dat.dep.dev.DevServicesDatasourceProcessor] (build-15) Dev Services for default datasource (postgresql) started - container ID is 10edc154170d\n2023-11-15 17:28:59,817 INFO  [org.fly.cor.int.lic.VersionPrinter] (Quarkus Main Thread) Flyway Community Edition 9.22.2 by Redgate\n2023-11-15 17:28:59,818 INFO  [org.fly.cor.int.lic.VersionPrinter] (Quarkus Main Thread) See release notes here: https://rd.gt/416ObMi\n2023-11-15 17:28:59,818 INFO  [org.fly.cor.int.lic.VersionPrinter] (Quarkus Main Thread) \n2023-11-15 17:28:59,822 INFO  [org.fly.cor.FlywayExecutor] (Quarkus Main Thread) Database: jdbc:postgresql://localhost:5439/quarkus (PostgreSQL 14.9)\n2023-11-15 17:28:59,836 INFO  [org.fly.cor.int.dat.bas.Schema] (Quarkus Main Thread) Creating schema \"tenant_foo\" ...\n2023-11-15 17:28:59,837 INFO  [org.fly.cor.int.dat.bas.Schema] (Quarkus Main Thread) Creating schema \"tenant_bar\" ...\n2023-11-15 17:28:59,841 INFO  [org.fly.cor.int.sch.JdbcTableSchemaHistory] (Quarkus Main Thread) Creating Schema History table \"tenant_foo\".\"flyway_schema_history\" ...\n2023-11-15 17:28:59,888 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Current version of schema \"tenant_foo\": null\n2023-11-15 17:28:59,890 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Migrating schema \"tenant_foo\" to version \"1.0.0 - initial\"\n2023-11-15 17:28:59,898 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Successfully applied 1 migration to schema \"tenant_foo\", now at version v1.0.0 (execution time 00:00.004s)\n2023-11-15 17:28:59,917 INFO  [org.fly.cor.FlywayExecutor] (Quarkus Main Thread) Database: jdbc:postgresql://localhost:5439/quarkus (PostgreSQL 14.9)\n2023-11-15 17:28:59,921 INFO  [org.fly.cor.int.sch.JdbcTableSchemaHistory] (Quarkus Main Thread) Repair of failed migration in Schema History table \"wiresui\".\"flyway_schema_history\" not necessary as table doesn't exist.\n2023-11-15 17:28:59,923 INFO  [org.fly.cor.int.sch.JdbcTableSchemaHistory] (Quarkus Main Thread) Schema history table \"wiresui\".\"flyway_schema_history\" does not exist yet\n2023-11-15 17:28:59,924 INFO  [org.fly.cor.int.com.DbRepair] (Quarkus Main Thread) Successfully repaired schema history table \"wiresui\".\"flyway_schema_history\" (execution time 00:00.005s).\n2023-11-15 17:28:59,944 INFO  [org.fly.cor.int.dat.bas.Schema] (Quarkus Main Thread) Creating schema \"wiresui\" ...\n2023-11-15 17:28:59,946 INFO  [org.fly.cor.int.sch.JdbcTableSchemaHistory] (Quarkus Main Thread) Creating Schema History table \"wiresui\".\"flyway_schema_history\" ...\n2023-11-15 17:28:59,955 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Current version of schema \"wiresui\": null\n2023-11-15 17:28:59,960 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Migrating schema \"wiresui\" to version \"1.0.0 - quartz\"\n2023-11-15 17:28:59,961 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_fired_triggers\" does not exist, skipping\n2023-11-15 17:28:59,962 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_paused_trigger_grps\" does not exist, skipping\n2023-11-15 17:28:59,962 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_scheduler_state\" does not exist, skipping\n2023-11-15 17:28:59,963 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_locks\" does not exist, skipping\n2023-11-15 17:28:59,963 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_simple_triggers\" does not exist, skipping\n2023-11-15 17:28:59,964 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_cron_triggers\" does not exist, skipping\n2023-11-15 17:28:59,964 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_simprop_triggers\" does not exist, skipping\n2023-11-15 17:28:59,964 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_blob_triggers\" does not exist, skipping\n2023-11-15 17:28:59,965 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_triggers\" does not exist, skipping\n2023-11-15 17:28:59,965 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_job_details\" does not exist, skipping\n2023-11-15 17:28:59,966 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"qrtz_calendars\" does not exist, skipping\n2023-11-15 17:28:59,966 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: table \"tasks\" does not exist, skipping\n2023-11-15 17:28:59,967 INFO  [org.fly.cor.int.sql.DefaultSqlScriptExecutor] (Quarkus Main Thread) DB: sequence \"hibernate_sequence\" does not exist, skipping\n2023-11-15 17:28:59,997 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Migrating schema \"wiresui\" to version \"1.0.1 - flags\"\n2023-11-15 17:29:00,002 INFO  [org.fly.cor.int.com.DbMigrate] (Quarkus Main Thread) Successfully applied 2 migrations to schema \"wiresui\", now at version v1.0.1 (execution time 00:00.035s)\n```\n\nAs you can see, Flyway migrates schemas `wiresui` for the default datasource and `tenant_foo` for the tenants datasource, but not `tenant_bar`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figr%2Fquarkus-flyway-not-working","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figr%2Fquarkus-flyway-not-working","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figr%2Fquarkus-flyway-not-working/lists"}