{"id":27437578,"url":"https://github.com/polarfish/update-sql","last_synced_at":"2025-04-14T20:29:50.435Z","repository":{"id":49531055,"uuid":"259426710","full_name":"polarfish/update-sql","owner":"polarfish","description":"Liquibase updateSQL command as a service","archived":false,"fork":false,"pushed_at":"2022-09-06T15:22:45.000Z","size":70,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T19:09:47.781Z","etag":null,"topics":["java","liquibase","sql"],"latest_commit_sha":null,"homepage":"https://updatesql.polarfish.nl/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polarfish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-27T19:07:13.000Z","updated_at":"2023-03-09T09:24:39.000Z","dependencies_parsed_at":"2023-01-17T21:26:53.503Z","dependency_job_id":null,"html_url":"https://github.com/polarfish/update-sql","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarfish%2Fupdate-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarfish%2Fupdate-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarfish%2Fupdate-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarfish%2Fupdate-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polarfish","download_url":"https://codeload.github.com/polarfish/update-sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955042,"owners_count":21188934,"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":["java","liquibase","sql"],"created_at":"2025-04-14T20:29:49.194Z","updated_at":"2025-04-14T20:29:50.427Z","avatar_url":"https://github.com/polarfish.png","language":"Java","readme":"# update-sql\n\n[![Build](https://github.com/polarfish/update-sql/workflows/Build/badge.svg)](https://github.com/polarfish/update-sql/actions?query=workflow%3ABuild)\n\nLiquibase updateSQL command as a service.  \n\n## Description  \nThis service is useful for projects that treat Liquibase changelog \nas single source of truth but deliver plain SQL files as well.  \nSo, when developers finish updating the changelog, they can easily generate\nthe corresponding SQL files.  \n  \nThe result of running this service should be equal to the CLI command below:\n```shell script\n/path/to/liquibase-bin/liquibase --url=offline:\u003cdb-type\u003e --changeLogFile=/path/to/changelog.yml updateSQL\n```\n\n## Limitations\nThe service:\n- currently, supports YAML and XML changelogs (not JSON)\n- generates SQL for MySql, MariaDB, MSSQL and Oracle databases\n- replaces external SQL files inclusion with `-- Content placeholder (\u003cfile-name\u003e)`\n- does not support external changelogs inclusion (will result in Bad Request)\n\n## Running\n\n### Docker\n\n#### AMD64\n\n```shell script\ndocker run -d -p 8080:8080 polarfish/update-sql:1.1.0-amd64\n```\n\n#### ARM64\n\n```shell script\ndocker run -d -p 8080:8080 polarfish/update-sql:1.1.0-arm64\n```\n\n### JAR\n```shell script\nmvn clean package \u0026\u0026 java -jar target/update-sql*.jar\n```\n\n### spring-boot-maven-plugin\n```shell script\nmvn spring-boot:run\n```\n\n## Screenshots\n![image](https://user-images.githubusercontent.com/1070579/81563018-01a21b80-9396-11ea-94ad-d5f3d11c35e7.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarfish%2Fupdate-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolarfish%2Fupdate-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarfish%2Fupdate-sql/lists"}