{"id":21997520,"url":"https://github.com/stephane-klein/pgmemento-playground","last_synced_at":"2026-04-20T10:02:45.897Z","repository":{"id":99040183,"uuid":"329412374","full_name":"stephane-klein/pgmemento-playground","owner":"stephane-klein","description":"pgMemento PostgreSQL playground","archived":false,"fork":false,"pushed_at":"2021-01-13T22:34:58.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T04:44:48.625Z","etag":null,"topics":["pgmemento","playground","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/stephane-klein.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":"2021-01-13T19:35:44.000Z","updated_at":"2021-01-14T15:15:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"222e4c09-8420-4faa-b98f-ff94d137658e","html_url":"https://github.com/stephane-klein/pgmemento-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stephane-klein/pgmemento-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fpgmemento-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fpgmemento-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fpgmemento-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fpgmemento-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane-klein","download_url":"https://codeload.github.com/stephane-klein/pgmemento-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fpgmemento-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["pgmemento","playground","postgresql"],"created_at":"2024-11-29T22:16:52.530Z","updated_at":"2026-04-20T10:02:45.875Z","avatar_url":"https://github.com/stephane-klein.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pgMemento playground\n\n[pgMemento](https://github.com/pgMemento/pgMemento) playground.\n\n```sh\ndocker-compose build\ndocker-compose up -d\n```\n\n```sh\n$ cat sql/seed.sql | docker-compose exec -T postgres psql -U postgres\nSET\nCREATE EXTENSION\nDROP TABLE\nCREATE TABLE\nCREATE INDEX\nSET\n```\n\n```sh\n$ cat sql/demo.sql | docker-compose exec -T postgres psql -U postgres\nINSERT 0 1\n                       set_config\n--------------------------------------------------------\n {\"client_user\":\"superadm\", \"message\":\"Update contact\"}\n(1 row)\n\nUPDATE 1\n id | audit_id |                         event_key                         |       old_data        |                                                                   new_data\n----+----------+-----------------------------------------------------------+-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------\n  1 |        1 | 1610576502.58733;1610576502.58733;492;3;contacts;public   |                       | {\"id\": \"d5043999-2661-4bf6-9497-c89631f0c5ac\", \"email\": \"john.doe@example.com\", \"lastname\": \"Doe\", \"firstname\": \"John\", \"audit_trail_id\": 1}\n  2 |        1 | 1610576502.618826;1610576502.618826;493;4;contacts;public | {\"firstname\": \"John\"} | {\"firstname\": \"Stéphane\"}\n(2 rows)\n\n id | txid |           txid_time           | process_id | user_name | client_name | client_port | application_name |                                                                                                                           session_info\n----+------+-------------------------------+------------+-----------+-------------+-------------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n  1 |  490 | 2021-01-13 22:21:35.596734+00 |         72 | postgres  |             |             | psql             | \"{\\\"pgmemento_init\\\": {\\\"schema_name\\\": '\\\"public\\\"', \\\"default_audit_id_column\\\": '\\\"audit_trail_id\\\"', \\\"default_log_old_data\\\": 'true', \\\"default_log_new_data\\\": 'true', \\\"log_state\\\": 'true', \\\"trigger_create_table\\\": 'false', \\\"except_tables\\\": NULL}}\"\n  3 |  492 | 2021-01-13 22:21:42.58733+00  |         79 | postgres  |             |             | psql             |\n  4 |  493 | 2021-01-13 22:21:42.618826+00 |         79 | postgres  |             |             | psql             | {\"message\": \"Update contact\", \"client_user\": \"superadm\"}\n(3 rows)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fpgmemento-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane-klein%2Fpgmemento-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fpgmemento-playground/lists"}