{"id":42455598,"url":"https://github.com/h3yzack/springboot3-liquibase-example","last_synced_at":"2026-01-28T08:57:54.283Z","repository":{"id":205202515,"uuid":"606565482","full_name":"h3yzack/springboot3-liquibase-example","owner":"h3yzack","description":"Spring Boot 3.x with Liquibase example project","archived":false,"fork":false,"pushed_at":"2023-02-25T22:14:56.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-03T02:34:05.618Z","etag":null,"topics":["java","java-19","liquibase","maven","postgresql","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/h3yzack.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-02-25T21:43:07.000Z","updated_at":"2023-11-03T02:34:06.469Z","dependencies_parsed_at":null,"dependency_job_id":"de9dd3cf-9a4e-4156-a8fa-75a2bc7dd027","html_url":"https://github.com/h3yzack/springboot3-liquibase-example","commit_stats":null,"previous_names":["h3yzack/springboot3-liquibase-example"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/h3yzack/springboot3-liquibase-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3yzack%2Fspringboot3-liquibase-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3yzack%2Fspringboot3-liquibase-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3yzack%2Fspringboot3-liquibase-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3yzack%2Fspringboot3-liquibase-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h3yzack","download_url":"https://codeload.github.com/h3yzack/springboot3-liquibase-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3yzack%2Fspringboot3-liquibase-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28843056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["java","java-19","liquibase","maven","postgresql","spring","spring-boot"],"created_at":"2026-01-28T08:57:54.194Z","updated_at":"2026-01-28T08:57:54.272Z","avatar_url":"https://github.com/h3yzack.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot 3 Liquibase Example\n\nThis project demonstrates how to use Liquibase with Spring Boot 3 to manage database schema changes and generate SQL diff scripts from JPA entities. Both Gradle and Maven build settings are included, so either tool can be used to generate changelogs and apply updates to the database.\n\n## Requirements\n\n- Java 21\n- PostgreSQL Database\n- Gradle 8.5+ or Maven 3+\n\n## Dependencies\n\n- Spring Boot 3.5.5\n- Liquibase Core 4.31.1\n- Liquibase Hibernate 4.31.1\n- PostgreSQL JDBC Driver 42.7.7\n- Lombok (optional, for code generation)\n\n## Usage\n\n### Start the Service\n\n```sh\n./mvnw spring-boot:run\n# or\n./gradlew bootRun\n```\n\n### Generate Database Changelog and SQL Diff\n\n#### With Gradle\n\n- Generate a diff changelog SQL file (from current DB and entities):\n\n  ```sh\n  ./gradlew diffChangeLog -Pdiff.version=1.0.0 -Pauthor=example\n  ```\n  This will create a file like `src/main/resources/db/changelog/migration/_1.0.0_migrate.sql`.\n\n- Apply the changelog to the database:\n\n  ```sh\n  ./gradlew update\n  ```\n\n#### With Maven\n\n- Generate a diff changelog SQL file:\n\n  ```sh\n  ./mvnw liquibase:diff -Ddiff.version=1.0.0\n  ```\n  The generated file will be in `src/main/resources/db/changelog/migration/_1.0.0_migrate.sql`.\n\n- Apply the changelog to the database:\n\n  ```sh\n  ./mvnw liquibase:update\n  ```\n\n## Notes\n\n- Database connection and Hibernate settings are configured in `src/main/resources/liquibase.properties`.\n- The changelog master file is at `src/main/resources/db/changelog/db.changelog-master.yaml` and includes all migration scripts in the `migration` folder`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3yzack%2Fspringboot3-liquibase-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh3yzack%2Fspringboot3-liquibase-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3yzack%2Fspringboot3-liquibase-example/lists"}