{"id":17816447,"url":"https://github.com/zebrajaeger/spring-boot-liquibase-diff","last_synced_at":"2025-10-10T08:36:47.083Z","repository":{"id":97329324,"uuid":"111234949","full_name":"zebrajaeger/spring-boot-liquibase-diff","owner":"zebrajaeger","description":"spring boot liquibase maven plugin diff","archived":false,"fork":false,"pushed_at":"2017-11-19T09:11:57.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T08:31:18.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/zebrajaeger.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-11-18T19:59:44.000Z","updated_at":"2020-04-30T15:28:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"73bd597e-2aa7-43a3-9db7-f99589cfa5a7","html_url":"https://github.com/zebrajaeger/spring-boot-liquibase-diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zebrajaeger/spring-boot-liquibase-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fspring-boot-liquibase-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fspring-boot-liquibase-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fspring-boot-liquibase-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fspring-boot-liquibase-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebrajaeger","download_url":"https://codeload.github.com/zebrajaeger/spring-boot-liquibase-diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fspring-boot-liquibase-diff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003276,"owners_count":26083555,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-27T16:38:09.897Z","updated_at":"2025-10-10T08:36:47.044Z","avatar_url":"https://github.com/zebrajaeger.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spring Boot Liquibase Diff\n==========================\n\nThis is a simple project as demonstration how to generate liquibase change-logs with \nliquibase maven plugin from diff between database and JPA(Hibernate) entities without\nwriting changelocks manually.\n\nOverview\n-----------------\nThe project consists of two components.\n* The App itself\n* A Tool project that helps us to generate the changelock with the correct spelling for tables and columns\n\nPrepare / Install\n-----------------\nFirst step is installing the jar in local maven repo. Call  \n*mvn clean install*   \nin \u0026lt;project root\u0026gt;\n\nThis step is important because the liquibase plugin has a dependency to the  Tools \nproject artefact.\n\nSecond step is installing ans starting Postgres DB. Use the shell or pgAdmin Tool to create a new \ndatabase with the name   \n*liquibase-test* \n\nOptional: Change model\n--------------------- \nNow you can change the JPA model a little bit in    \nde.zebrajaeger.liquibaseconfigtest.persistence.model\n\nCreate Diff\n------------\nTo create a diff go to   \n*\u0026lt;project root\u0026gt;/app*   \n and call    \n*mvn clean compile liquibase:diff* \n\nThis compiles the classes inclusive the model classes (important!) and creates the diff.\n\nThe result occurs in \u0026lt;project-root\u0026gt;/app/src/main/resources/liquibase-diff-changeLog.xml\n\nUpdate App\n----------\nAfter copying the changes to liquibase-changeLog.xml (and deletion of  liquibase-diff-changeLog.xml) \nthe start of the application class       \n*de.zebrajaeger.liquibaseconfigtest.LiquibaseConfigTestApplication*   \nshould be fine\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fspring-boot-liquibase-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebrajaeger%2Fspring-boot-liquibase-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fspring-boot-liquibase-diff/lists"}