{"id":16675916,"url":"https://github.com/willitscale/samplejsonliquibase","last_synced_at":"2026-04-09T03:31:18.461Z","repository":{"id":72985863,"uuid":"53427930","full_name":"willitscale/SampleJsonLiquibase","owner":"willitscale","description":"Example JSON Liquibase Flow","archived":false,"fork":false,"pushed_at":"2016-03-09T09:43:26.000Z","size":742,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T12:36:58.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/willitscale.png","metadata":{"files":{"readme":"readme.md","changelog":"changes/TEST-1000/changeSet.json","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":"2016-03-08T16:35:44.000Z","updated_at":"2016-03-08T16:35:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ea160c9-ed6c-462f-b1aa-3e274976af16","html_url":"https://github.com/willitscale/SampleJsonLiquibase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willitscale/SampleJsonLiquibase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willitscale%2FSampleJsonLiquibase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willitscale%2FSampleJsonLiquibase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willitscale%2FSampleJsonLiquibase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willitscale%2FSampleJsonLiquibase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willitscale","download_url":"https://codeload.github.com/willitscale/SampleJsonLiquibase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willitscale%2FSampleJsonLiquibase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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-12T13:08:25.799Z","updated_at":"2026-04-09T03:31:18.443Z","avatar_url":"https://github.com/willitscale.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"### Sample JSON Liquibase\n\nA sample liquibase set-up using JSON\n\n#### Setting up liquibase\n\nHere's a very basic set-up guide to get going with liquibase in Ubuntu 14.04 3.13.0-79-generic\n```sh\nsudo apt-get install openjdk-7-jre\nsudo mkdir -p /usr/local/liquibase\ncd /usr/local/liquibase\nsudo wget https://github.com/liquibase/liquibase/releases/download/liquibase-parent-3.4.2/liquibase-3.4.2-bin.tar.gz\nsudo tar -xvf liquibase-3.4.2-bin.tar.gz\nsudo rm liquibase-3.4.2-bin.tar.gz\nsudo ln -s liquibase /usr/bin/liquibase\ncd ~/\ngit clone https://github.com/willitscale/SampleJsonLiquibase.git\ncd SampleJsonLiquibase\n```\n\n#### Configuration\n\nYou will need to either set-up a database server locally or have a remote database access available. This example is assuming that your dbms is MySQL with the username 'admin' and password 'password' and you will have to adjust the liquibase.properties to reflect your set-up. If you require any additional drivers I would suggest [oracle-jdbc](http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html).\n\n#### Initial Tag\n\nTags the initial structure as your \"base\" or starting point.\n\n```sh\nliquibase tag \"base\"\n```\n\n#### Updates\n\nEach update should execute the defined changes and then tag the changes as outlined.\n\nCreates the table 'person' in 'test' and tags the structure as 'TEST-1000'\n\n```sh\nliquibase --changeLogFile=changes/TEST-1000/changeSet.json update\n```\n\nAlters the 'person' table with the additional field 'lastname' and tags the structure as 'TEST-1001'\n\n```sh\nliquibase --changeLogFile=changes/TEST-1001/changeSet.json update\n```\n\nImports data to the 'person' table and tags the structure as 'TEST-1002'\n\n```sh\nliquibase --changeLogFile=changes/TEST-1002/changeSet.json update\n```\n\n#### Rollbacks\n\nDrops all the data from the 'person' table and reverts to the tag 'TEST-1001'\n\n```sh\nliquibase --changeLogFile=changes/TEST-1002/changeSet.json rollback \"TEST-1001\"\n```\n\nDrops the 'lastname' column and reverts to the tag 'TEST-1000'\n\n```sh\nliquibase --changeLogFile=changes/TEST-1001/changeSet.json rollback \"TEST-1000\"\n```\n\nDrops 'person' table and reverts to the tag 'base'\n```sh\nliquibase --changeLogFile=changes/TEST-1000/changeSet.json rollback \"base\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillitscale%2Fsamplejsonliquibase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillitscale%2Fsamplejsonliquibase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillitscale%2Fsamplejsonliquibase/lists"}