{"id":23072245,"url":"https://github.com/sanogotech/liquidbasestarter","last_synced_at":"2026-05-08T09:33:44.668Z","repository":{"id":91004027,"uuid":"547965958","full_name":"sanogotech/liquidbasestarter","owner":"sanogotech","description":"LiquidBase  DB  Changelog   Starter","archived":false,"fork":false,"pushed_at":"2022-10-08T19:53:01.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-24T14:12:54.980Z","etag":null,"topics":["dbmigration","h2","h2-database","java","liquibase","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/sanogotech.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":"2022-10-08T17:00:35.000Z","updated_at":"2022-10-08T18:19:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"12b186f2-a760-4dd2-84e4-0f58775ade49","html_url":"https://github.com/sanogotech/liquidbasestarter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanogotech/liquidbasestarter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fliquidbasestarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fliquidbasestarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fliquidbasestarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fliquidbasestarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanogotech","download_url":"https://codeload.github.com/sanogotech/liquidbasestarter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fliquidbasestarter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32774958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["dbmigration","h2","h2-database","java","liquibase","spring","spring-boot"],"created_at":"2024-12-16T07:19:21.126Z","updated_at":"2026-05-08T09:33:44.660Z","avatar_url":"https://github.com/sanogotech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# liquidbasestarter\nLiquidBase  DB  Changelog   Starter\n\n* Best  Sample :  https://github.com/sanogotech/liquibase-springboot\n\n##  Docs\n- https://www.techgeeknext.com/spring-boot/spring-boot-liquibase-example#google_vignette\n- https://www.baeldung.com/liquibase-refactor-schema-of-java-app\n- https://docs.liquibase.com/tools-integrations/springboot/using-springboot-with-maven.html\n- https://reflectoring.io/database-migration-spring-boot-liquibase/\n\n\n## Dependencies\n\n```\n\n\u003cparent\u003e\n         \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n         \u003cartifactId\u003espring-boot-starter-parent\u003c/artifactId\u003e\n         \u003cversion\u003e2.5.3\u003c/version\u003e\n         \u003crelativePath/\u003e \u003c!-- lookup parent from repository --\u003e\n\u003c/parent\u003e\n\n          \u003cdependency\u003e\n                 \u003cgroupId\u003eorg.liquibase\u003c/groupId\u003e \n                 \u003cartifactId\u003eliquibase-core\u003c/artifactId\u003e\n       \u003c/dependency\u003e\n       \n       \u003cdependency\u003e\n                 \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n                 \u003cartifactId\u003espring-boot-starter-data-jpa\u003c/artifactId\u003e\n       \u003c/dependency\u003e\n```\n\n## application.properties\n\n```\nspring.liquibase.change-log=classpath:liquibase-changeLog.xml   *.sql or xml or json or yaml\nspring.liquibase.enabled=false\n\n```\n\n## liquibase.properties\n\n```\nWindows example: changelog-file: ..\\path\\to\\changelog.sql\nLinux example: changelog-file: ../path/to/changelog.sql\n\nurl=jdbc:mysql://localhost:3306/oauth_reddit\nusername=tutorialuser\npassword=tutorialmy5ql\ndriver=com.mysql.jdbc.Driver\noutputChangeLogFile=src/main/resources/liquibase-outputChangeLog.xml\n```\n## Changelog example\n\n```xml\n\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cdatabaseChangeLog\n\txmlns=\"http://www.liquibase.org/xml/ns/dbchangelog\"\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\txmlns:ext=\"http://www.liquibase.org/xml/ns/dbchangelog-ext\"\n\txmlns:pro=\"http://www.liquibase.org/xml/ns/pro\"\n\txsi:schemaLocation=\"http://www.liquibase.org/xml/ns/dbchangelog\n\t\thttp://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd\n\t\thttp://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd\n\t\thttp://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd\"\u003e\n    \u003cchangeSet id=\"1\" author=\"Liquibase\"\u003e\n    \u003ccreateTable tableName=\"test_table\"\u003e\n           \u003ccolumn name=\"test_id\" type=\"int\"\u003e\n                 \u003cconstraints primaryKey=\"true\"/\u003e\n           \u003c/column\u003e\n           \u003ccolumn name=\"test_column\" type=\"varchar\"/\u003e\n    \u003c/createTable\u003e\n    \u003c/changeSet\u003e\n\u003c/databaseChangeLog\u003e\n```\n## Generate a ChangeLog From an Existing Database\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.liquibase\u003c/groupId\u003e\n    \u003cartifactId\u003eliquibase-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e3.4.1\u003c/version\u003e\n\u003c/dependency\u003e \n\n\n\u003cplugins\u003e\n    \u003cplugin\u003e\n        \u003cgroupId\u003eorg.liquibase\u003c/groupId\u003e\n        \u003cartifactId\u003eliquibase-maven-plugin\u003c/artifactId\u003e\n        \u003cversion\u003e3.4.1\u003c/version\u003e\n        \u003cconfiguration\u003e                  \n            \u003cpropertyFile\u003esrc/main/resources/liquibase.properties\u003c/propertyFile\u003e\n        \u003c/configuration\u003e                \n    \u003c/plugin\u003e \n\u003c/plugins\u003e\n```\n\n```\nmvn liquibase:generateChangeLog\n```\n\n\n## Generate a ChangeLog From Diffs Between Two Databases\n\n\n```\nmvn liquibase:diff\n\n```\n\n* liquibase.properties\n```\nchangeLogFile=src/main/resources/liquibase-changeLog.xml\nurl=jdbc:mysql://localhost:3306/oauth_reddit\nusername=tutorialuser\npassword=tutorialmy5ql\ndriver=com.mysql.jdbc.Driver\nreferenceUrl=jdbc:h2:mem:oauth_reddit\ndiffChangeLogFile=src/main/resources/liquibase-diff-changeLog.xml\nreferenceDriver=org.h2.Driver\nreferenceUsername=sa\nreferencePassword=\n```\n\n## To roll back any changes\n\n```\ncreate the liquibase.rollback-file file in Spring Boot and generate a rollback script for changes associated with changesets\nEx:\n-- rollback drop table test_table;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fliquidbasestarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanogotech%2Fliquidbasestarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fliquidbasestarter/lists"}