{"id":22804232,"url":"https://github.com/focabot/focabot-migrate","last_synced_at":"2025-08-09T09:17:50.584Z","repository":{"id":77677098,"uuid":"122921361","full_name":"FocaBot/FocaBot-migrate","owner":"FocaBot","description":"Migration scripts for FocaBot","archived":false,"fork":false,"pushed_at":"2018-02-27T12:10:25.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T20:30:11.102Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FocaBot.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":"2018-02-26T06:05:17.000Z","updated_at":"2018-02-26T06:08:18.000Z","dependencies_parsed_at":"2023-03-12T01:38:50.780Z","dependency_job_id":null,"html_url":"https://github.com/FocaBot/FocaBot-migrate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FocaBot/FocaBot-migrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FocaBot%2FFocaBot-migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FocaBot%2FFocaBot-migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FocaBot%2FFocaBot-migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FocaBot%2FFocaBot-migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FocaBot","download_url":"https://codeload.github.com/FocaBot/FocaBot-migrate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FocaBot%2FFocaBot-migrate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263980156,"owners_count":23538921,"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-12T10:07:06.283Z","updated_at":"2025-07-06T22:05:50.247Z","avatar_url":"https://github.com/FocaBot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FocaBot migrate\n\nMigrate data from a FocaBot 0.x database to a FocaBot 1.x database.\n\nThis isn't required unless you want to keep all user data when upgrading.\n\nFor the sake of simplicity, data from the \"player\" module is excluded from the migration.\n\n# Step by step instructions\n\n - Put the migrate.js file inside the FocaBot (0.x) directory\n - Open a Terminal / Command Prompt inside the directory and run those commands:\n \n   ```\n   npm install gun@^0.7.9\n   node migrate\n   ```\n \n - A `data.db` file will be created inside the directory. Copy that file\n   over to the FocaBot 1.x directory (~/.focaBot/ if you installed it via npm)\n\n# Redis\n\nIf you want to keep using redis for FocaBot, use the `migrate-redis.js` script instead.\n\nAlso, make sure to put `USE_REDIS=true` in the `.env` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocabot%2Ffocabot-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffocabot%2Ffocabot-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocabot%2Ffocabot-migrate/lists"}