{"id":18425895,"url":"https://github.com/faforever/faf-db-dump","last_synced_at":"2026-03-19T04:20:02.310Z","repository":{"id":75007018,"uuid":"91016182","full_name":"FAForever/faf-db-dump","owner":"FAForever","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-25T10:09:53.000Z","size":22294,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-16T08:17:38.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/FAForever.png","metadata":{"files":{"readme":"readme.adoc","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}},"created_at":"2017-05-11T19:30:50.000Z","updated_at":"2023-12-25T10:09:57.000Z","dependencies_parsed_at":"2023-02-28T23:46:46.517Z","dependency_job_id":null,"html_url":"https://github.com/FAForever/faf-db-dump","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/FAForever%2Ffaf-db-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Ffaf-db-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Ffaf-db-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Ffaf-db-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FAForever","download_url":"https://codeload.github.com/FAForever/faf-db-dump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248758429,"owners_count":21156959,"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-06T05:06:20.192Z","updated_at":"2026-02-02T09:37:55.751Z","avatar_url":"https://github.com/FAForever.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FAForever database dump\n\nIn this repository you find an anonymized excerpt of the FAF production database (dump.sql) and scripts to generate\nit from a copy (!) of the production database (sanitize.sql).\n\nIt's main use is to verify database migrations against at least partially real world data.\n\n## Sanitize\n\nIf you run a sanitize query, please note the loop inside the SQL! Manual work is required!\n\n## Dump\n\nIf you imported the production database using a faf-db from faf-stack you may run\n\n`docker exec -i -u root faf-db mysqldump -u root -p --single-transaction faf_lobby \u003e dump.sql`\n\nAfterwards you need to edit the dump.sql:\n\n* replace faf_lobby with faf\n* replace all `SQL SECURITY DEFINER` to +DEFINER=`root`@`%`+ (otherwise Schemaspy will break)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaforever%2Ffaf-db-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaforever%2Ffaf-db-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaforever%2Ffaf-db-dump/lists"}