{"id":22188964,"url":"https://github.com/mikoweb/postgres-framework","last_synced_at":"2025-10-09T13:33:49.677Z","repository":{"id":56888576,"uuid":"93902777","full_name":"mikoweb/postgres-framework","owner":"mikoweb","description":"Simple framework for PostgreSQL","archived":false,"fork":false,"pushed_at":"2017-07-29T14:12:28.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T13:33:46.421Z","etag":null,"topics":["framework","postgresql"],"latest_commit_sha":null,"homepage":"https://rmweb.pl","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikoweb.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":"2017-06-09T22:59:27.000Z","updated_at":"2017-11-18T21:53:42.000Z","dependencies_parsed_at":"2022-08-20T11:40:37.504Z","dependency_job_id":null,"html_url":"https://github.com/mikoweb/postgres-framework","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mikoweb/postgres-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fpostgres-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fpostgres-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fpostgres-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fpostgres-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikoweb","download_url":"https://codeload.github.com/mikoweb/postgres-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fpostgres-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001481,"owners_count":26083102,"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-09T02:00:07.460Z","response_time":59,"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":["framework","postgresql"],"created_at":"2024-12-02T11:14:02.242Z","updated_at":"2025-10-09T13:33:49.656Z","avatar_url":"https://github.com/mikoweb.png","language":"PLpgSQL","readme":"# PostgreSQL Framework\n\nIt's simple framework for PostgreSQL database with unit tests and versioning.\n\nCreated based on:\n\n- [PostgreSQL Unit Testing Framework](https://github.com/mixerp/plpgunit)\n- [Schema Evolution Manager (sem)](https://github.com/mbryzek/schema-evolution-manager)\n\n## Install framework\n\n    bundle install\n\n## Add framework scripts\n\n    bundle exec sem-add-framework\n\n## Add script\n\n    bundle exec sem-add-safe ./new-script.sql\n\n## Applying changes to your local database\n\n    bundle exec sem-apply --url postgresql://postgres@localhost/sample --password\n\n## Other commands\n\nGo to [Schema Evolution Manager (sem)](https://github.com/mbryzek/schema-evolution-manager).\n\n## Run tests\n\n    BEGIN TRANSACTION;\n    SELECT * FROM unit_tests.begin();\n    ROLLBACK TRANSACTION;\n\n## Writing tests\n\nGo to [PostgreSQL Unit Testing Framework](https://github.com/mixerp/plpgunit).\n\n## Uninstall tests\n\n    DROP SCHEMA IF EXISTS assert CASCADE;\n    DROP SCHEMA IF EXISTS unit_tests CASCADE;\n    DROP DOMAIN IF EXISTS public.test_result CASCADE;\n\n## Uninstall framework\n\nIt's' dangerous.\n\n    DROP SCHEMA IF EXISTS framework CASCADE;\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikoweb%2Fpostgres-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikoweb%2Fpostgres-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikoweb%2Fpostgres-framework/lists"}