{"id":20181057,"url":"https://github.com/ryanpadilha/rlabs-flyway-spring-boot","last_synced_at":"2026-04-12T17:42:07.707Z","repository":{"id":72969324,"uuid":"99256893","full_name":"ryanpadilha/rlabs-flyway-spring-boot","owner":"ryanpadilha","description":"Flyway database migrations using Spring Boot","archived":false,"fork":false,"pushed_at":"2017-08-16T13:58:46.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T17:19:14.490Z","etag":null,"topics":["database","flyway","java-8","maven","migrations","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","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/ryanpadilha.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-03T17:08:33.000Z","updated_at":"2017-08-03T23:09:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"779ceba8-8077-47e8-b2ae-d47c9c0cc6ce","html_url":"https://github.com/ryanpadilha/rlabs-flyway-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpadilha%2Frlabs-flyway-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpadilha%2Frlabs-flyway-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpadilha%2Frlabs-flyway-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpadilha%2Frlabs-flyway-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanpadilha","download_url":"https://codeload.github.com/ryanpadilha/rlabs-flyway-spring-boot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"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":["database","flyway","java-8","maven","migrations","spring","spring-boot"],"created_at":"2024-11-14T02:34:11.448Z","updated_at":"2026-04-12T17:42:02.652Z","avatar_url":"https://github.com/ryanpadilha.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rlabs-flyway-spring-boot\n\n##### Version 0.0.1\n\nFlyway with Spring Boot Application 2.0.\u003cbr\u003e\nThis is an example how to work with database migrations with [Flyway](https://flywaydb.org/) and [Spring Boot](https://projects.spring.io/spring-boot/).\u003cbr\u003e\n\nIt's based on PostgreSQL database-server, then you should check if the server is up and running.\u003cbr\u003e\nBy the way, the Flyway doesn't create the database, its need to be created outside, as well as setting the username and password for the owner of the data resource. In the future, you can easily switch this example to make use of another database by setting up the correct JDBC driver and Connection URL.\u003cbr\u003e\n\n## Execution \n\nFor execute, simple follow the statement:\u003cbr\u003e\n\n$ mvn clean compile flyway:migrate\u003cbr\u003e\n$ mvn clean compile flyway:info\n\u003cbr\u003e\u003cbr\u003e\nMore details can be found on [Flyway Documentation](https://flywaydb.org/documentation/).\u003cbr\u003e\nSpring Boot Flyway database migrations on startup details can be found on [here](https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html#howto-execute-flyway-database-migrations-on-startup).\u003cbr\u003e\n\n## Requirements\n\n- Java 1.8 or later.\n- PostgreSQL Server 9.x or later.\n- Maven 3.x or later.\n\n## License\n\nThis project is developed for education and PoC goals.\n\nCopyright 2017 © ResearchLabs under [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0)\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanpadilha%2Frlabs-flyway-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanpadilha%2Frlabs-flyway-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanpadilha%2Frlabs-flyway-spring-boot/lists"}