{"id":22796274,"url":"https://github.com/makerxstudio/typeorm-pg-toolkit","last_synced_at":"2025-03-30T18:14:57.630Z","repository":{"id":204392256,"uuid":"709122365","full_name":"MakerXStudio/typeorm-pg-toolkit","owner":"MakerXStudio","description":"MakerX TypeORM Postgres toolkit","archived":false,"fork":false,"pushed_at":"2024-01-29T03:52:35.000Z","size":225,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-10-30T03:06:40.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MakerXStudio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-24T03:57:53.000Z","updated_at":"2023-10-30T03:42:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d4e7e74-11df-427a-894a-d842e8549d0b","html_url":"https://github.com/MakerXStudio/typeorm-pg-toolkit","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"5a52015dac2e6411eb1d9ea1eb0020303cac5291"},"previous_names":["makerxstudio/typeorm-pg-toolkit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Ftypeorm-pg-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Ftypeorm-pg-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Ftypeorm-pg-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Ftypeorm-pg-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakerXStudio","download_url":"https://codeload.github.com/MakerXStudio/typeorm-pg-toolkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358321,"owners_count":20764366,"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":[],"created_at":"2024-12-12T05:11:45.725Z","updated_at":"2025-03-30T18:14:57.603Z","avatar_url":"https://github.com/MakerXStudio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeORM toolkit\n\n## Install\n```\nnpm install @makerx/typeorm-pg-toolkit --save-dev\n```\nA set of useful TypeORM tools to work with Postgres\n\n## Features\nSupported features are:\n\n### Data migrations\n- `migration-create`: Create an empty migration script.\n- `migration-generate`: Generate migration scripts to match the current Postgres database with the current entity model.\n- `migration-check`: Check for discrepancies between the current Postgres database and the current entity model.\n- `migration-revert`: Revert the latest migration script.\n\n### Data snapshot\n- `snapshot-create`: Create a snapshot of the current Postgres database.\n- `snapshot-restore`: Restore a snapshot\n- `snapshot-clean`: Delete all snapshots\n\n## Environment variables\nThis toolkit expect you to set the below environment variables\n\n### Data migrations\n- `TYPEORM_TOOLKIT_MIGRATION_DATASOURCE_CONFIG`: The path to TypeORM datasource file.\n- `TYPEORM_TOOLKIT_MIGRATION_ROOT_DIR`: The directory to generate new migration scripts to.\n\n### Data snapshots\n- `TYPEORM_TOOLKIT_DATABASE_HOST`: Postgres database host\n- `TYPEORM_TOOLKIT_DATABASE_PORT`: Postgres database port\n- `TYPEORM_TOOLKIT_DATABASE_NAME`: Postgres database name\n- `TYPEORM_TOOLKIT_DATABASE_USERNAME`: Postgres database username\n- `TYPEORM_TOOLKIT_DATABASE_PASSWORD`: Postgres database password\n\nNote: The username must have permissions to create snapshot/restore permissions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerxstudio%2Ftypeorm-pg-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerxstudio%2Ftypeorm-pg-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerxstudio%2Ftypeorm-pg-toolkit/lists"}