{"id":14974066,"url":"https://github.com/asenyshyn/pg-patch","last_synced_at":"2025-04-26T23:32:40.771Z","repository":{"id":30385773,"uuid":"33938434","full_name":"asenyshyn/pg-patch","owner":"asenyshyn","description":"set of scripts to help organize and manage Postgresql database source code.","archived":false,"fork":false,"pushed_at":"2017-02-24T13:15:48.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T18:23:15.206Z","etag":null,"topics":["database","migrations","plpgsql","postgresql","shell"],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","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/asenyshyn.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}},"created_at":"2015-04-14T14:58:08.000Z","updated_at":"2018-03-07T15:39:57.000Z","dependencies_parsed_at":"2022-09-08T11:50:59.633Z","dependency_job_id":null,"html_url":"https://github.com/asenyshyn/pg-patch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fpg-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fpg-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fpg-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fpg-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asenyshyn","download_url":"https://codeload.github.com/asenyshyn/pg-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251068040,"owners_count":21531475,"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":["database","migrations","plpgsql","postgresql","shell"],"created_at":"2024-09-24T13:49:54.377Z","updated_at":"2025-04-26T23:32:40.331Z","avatar_url":"https://github.com/asenyshyn.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg-patch\n\n## Installation\nTo setup database for the first time use:\n\n1. Create database with `psql -h 127.0.0.1 -p 5432 -U postgres -f init/db_setup.sql -v new_database=demodb`\n2. Install demodb into created database `./run.sh -h 127.0.0.1 -p 5432 -U demodb_owner -d demodb`\n\n## Patch\n```sh\n./run.sh -h 127.0.0.1 -p 5432 -U demodb_owner -d demodb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasenyshyn%2Fpg-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasenyshyn%2Fpg-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasenyshyn%2Fpg-patch/lists"}