{"id":19294615,"url":"https://github.com/web3-storage/db-migration-pipeline","last_synced_at":"2025-04-22T08:30:35.022Z","repository":{"id":46159550,"uuid":"421467673","full_name":"web3-storage/db-migration-pipeline","owner":"web3-storage","description":null,"archived":true,"fork":false,"pushed_at":"2021-11-15T17:05:42.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-24T00:28:09.254Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web3-storage.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}},"created_at":"2021-10-26T14:52:41.000Z","updated_at":"2024-04-18T16:21:36.000Z","dependencies_parsed_at":"2022-09-03T20:10:14.478Z","dependency_job_id":null,"html_url":"https://github.com/web3-storage/db-migration-pipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3-storage%2Fdb-migration-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3-storage%2Fdb-migration-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3-storage%2Fdb-migration-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3-storage%2Fdb-migration-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3-storage","download_url":"https://codeload.github.com/web3-storage/db-migration-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250205978,"owners_count":21392158,"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-11-09T22:38:54.272Z","updated_at":"2025-04-22T08:30:34.728Z","avatar_url":"https://github.com/web3-storage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# db-migration-pipeline\n\nMigration pipeline to move data from Fauna DB into Postgres.\n\n## Setup\n\n```sh\nnpm install\n```\n\nTo run locally you will need the following in your `.env.local` file:\n\n```ini\n# Running environment (dev, staging, production)\nENV=dev\n\n# Fauna keys\nDEV_FAUNA_KEY=\u003cTOKEN\u003e\nSTAGING_FAUNA_KEY=\u003cTOKEN\u003e\nPRODUCTION_FAUNA_KEY=\u003cTOKEN\u003e\n\n# Postgres keys\nDEV_PG_CONNECTION=\u003cCONNECTION_STRING\u003e\nSTAGING_PG_CONNECTION=\u003cCONNECTION_STRING\u003e\nPRODUCTION_PG_CONNECTION=\u003cCONNECTION_STRING\u003e\n```\n\n## Usage\n\n### Full Migration\n\n```sh\nnode bin.js full\n```\n\n### Partial Migration\n\n```sh\nnode bin.js partial \u003ctimestamp\u003e\n```\n\n### Full Fauna Dump\n\n```sh\nnode bin.js fauna-dump\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3-storage%2Fdb-migration-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3-storage%2Fdb-migration-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3-storage%2Fdb-migration-pipeline/lists"}