{"id":30136702,"url":"https://github.com/planetscale/migration-scripts","last_synced_at":"2025-08-10T23:52:55.655Z","repository":{"id":302330732,"uuid":"992790071","full_name":"planetscale/migration-scripts","owner":"planetscale","description":"Scripts for migrating from Postgres to PlanetScale","archived":false,"fork":false,"pushed_at":"2025-08-07T06:12:45.000Z","size":68,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-07T08:22:50.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/planetscale.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,"zenodo":null}},"created_at":"2025-05-29T18:04:21.000Z","updated_at":"2025-08-07T06:12:48.000Z","dependencies_parsed_at":"2025-08-07T08:15:59.207Z","dependency_job_id":"030cffbe-c3e7-4513-9875-fa783301edd8","html_url":"https://github.com/planetscale/migration-scripts","commit_stats":null,"previous_names":["planetscale/migration-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/planetscale/migration-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetscale%2Fmigration-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetscale%2Fmigration-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetscale%2Fmigration-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetscale%2Fmigration-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/planetscale","download_url":"https://codeload.github.com/planetscale/migration-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetscale%2Fmigration-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269809279,"owners_count":24478521,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-10T23:52:53.169Z","updated_at":"2025-08-10T23:52:55.598Z","avatar_url":"https://github.com/planetscale.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Migration scripts for moving into PlanetScale\n\nUse these scripts to migrate a Postgres database to PlanetScale for Postgres or Vitess/MySQL.\n\n## [Postgres directly to PlanetScale for Postgres](./postgres-direct)\n\nThis direct migration uses logical replication and, optionally, a proxy which can manage connections and sequences for a zero-downtime migration.\n\n## [Heroku Postgres to PlanetScale for Postgres](./heroku-planetscale)\n\nHeroku notably does not support logical replication. This strategy uses Bucardo to manage trigger-based asynchronous replication from Heroku into PlanetScale for Postgres.\n\n## [Postgres to PlanetScale for Postgres or Vitess/MySQL via AWS DMS](./postgres-planetscale)\n\nThis has some speed limitations and is only recommended for databases 100GB or less.\n\n## [Postgres to PlanetScale for Vitess/MySQL via AWS DMS and an intermediate MySQL](./postgres-mysql-planetscale)\n\nThanks to the intermediate MySQL database, this runs faster than the variant above, but has the downside of requiring an additional MySQL instance running during the migration, which adds cost and complexity to the import.\nRecommended for larger imports \u003e 100GB.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetscale%2Fmigration-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplanetscale%2Fmigration-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetscale%2Fmigration-scripts/lists"}