{"id":21425170,"url":"https://github.com/henrique-efonseca/databases-migrations","last_synced_at":"2025-03-16T21:11:15.063Z","repository":{"id":248145118,"uuid":"824386457","full_name":"henrique-efonseca/databases-migrations","owner":"henrique-efonseca","description":"Scripts and tools for migrating data between different databases. Built with Python.","archived":false,"fork":false,"pushed_at":"2024-07-12T15:44:02.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T07:23:50.317Z","etag":null,"topics":["database-migrations","nosql","python","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","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/henrique-efonseca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-07-05T03:03:51.000Z","updated_at":"2024-07-12T15:44:06.000Z","dependencies_parsed_at":"2024-07-12T18:13:21.740Z","dependency_job_id":null,"html_url":"https://github.com/henrique-efonseca/databases-migrations","commit_stats":null,"previous_names":["henrique-efonseca/databases-migrations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-efonseca%2Fdatabases-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-efonseca%2Fdatabases-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-efonseca%2Fdatabases-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-efonseca%2Fdatabases-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrique-efonseca","download_url":"https://codeload.github.com/henrique-efonseca/databases-migrations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933431,"owners_count":20370986,"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","nosql","python","sql"],"created_at":"2024-11-22T21:27:15.303Z","updated_at":"2025-03-16T21:11:15.019Z","avatar_url":"https://github.com/henrique-efonseca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Databases Migrations\n\nScripts and tools for migrating data between different databases. This repository currently includes a migration script for MongoDB to PostgreSQL, with plans to support more database migrations in the future.\n\n\u003cbr\u003e\n\n## Features\n- Easy configuration using a YAML file\n- Error handling during the migration process\n- Flexible and extensible to support multiple database types\n\n\u003cbr\u003e\n\n## Available Migrations\n| Source Database | Target Database | Script Reference                       |\n|-----------------|-----------------|----------------------------------------|\n| MongoDB         | PostgreSQL      | [MongoDB to PostgreSQL Migration](./mongo_to_postgres_migration/README.md) |\n\n\u003cbr\u003e\n\n## Requirements\n- Python 3.x\n- pymongo\n- psycopg2\n- pyyaml\n\n\u003cbr\u003e\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/yourusername/databases-migrations.git\n   cd databases-migrations\n    ```\n2. Install the required packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n3. Configure the migration script as per the instructions in the respective migration guide.\n\n\u003cbr\u003e\n\n## Usage\n1. Configure the migration script as per the instructions in the respective migration guide.\n2. Run the migration script using the appropriate command. Example :\n    ```bash\n    cd mongo_to_postgres_migration\n    python mongo_to_postgres_migration.py\n    ```\n3. Verify the migration by checking the target database.\n\n\u003cbr\u003e\n\n## Contributing\nContributions are welcome!\nPlease feel free to submit a pull request or open an issue if you have any suggestions or improvements.\n\n\u003cbr\u003e\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrique-efonseca%2Fdatabases-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrique-efonseca%2Fdatabases-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrique-efonseca%2Fdatabases-migrations/lists"}