{"id":17818304,"url":"https://github.com/questionlp/wwdtm_database","last_synced_at":"2026-02-13T10:13:36.410Z","repository":{"id":43656313,"uuid":"293658189","full_name":"questionlp/wwdtm_database","owner":"questionlp","description":"Wait Wait Don't Tell Me! Stats Page Database","archived":false,"fork":false,"pushed_at":"2025-10-02T23:11:29.000Z","size":7031,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T01:18:24.867Z","etag":null,"topics":["database","mysql","sql","wwdtm"],"latest_commit_sha":null,"homepage":"https://stats.wwdt.me","language":null,"has_issues":false,"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/questionlp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-08T00:10:57.000Z","updated_at":"2025-02-18T03:33:07.000Z","dependencies_parsed_at":"2023-11-29T07:23:34.444Z","dependency_job_id":"2565664e-2d59-4cd2-8d5e-1d0ba5dd3be6","html_url":"https://github.com/questionlp/wwdtm_database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/questionlp/wwdtm_database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questionlp%2Fwwdtm_database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questionlp%2Fwwdtm_database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questionlp%2Fwwdtm_database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questionlp%2Fwwdtm_database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/questionlp","download_url":"https://codeload.github.com/questionlp/wwdtm_database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questionlp%2Fwwdtm_database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29401355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","mysql","sql","wwdtm"],"created_at":"2024-10-27T16:49:16.493Z","updated_at":"2026-02-13T10:13:36.392Z","avatar_url":"https://github.com/questionlp.png","language":null,"readme":"# Wait Wait Don't Tell Me! Stats Database\n\n## Overview\n\nThis repository contains the initial database schema for the [Wait Wait Don't Tell Me! Stats Page](https://stats.wwdt.me) database running on either MySQL or MariaDB.\n\n## Requirements\n\n- MySQL Server 8.0 or newer for Wait Wait Stats Database versions 4.0 and higher\n- MySQL Server 5.6 or MariaDB Server 10.0 or newer for Wait Wait Stats Database versions below 4.0\n- Support for InnoDB enabled for either MySQL Server or MariaDB server\n\n## Installation\n\nThis script is designed to be run against a new and empty MySQL or MariaDB database. It can be imported using the `mysql` or `mariadb` command line tool or using any compatible database management tool.\n\nAll of the tables are created as InnoDB and use a default charset of `utf8`.\n\n## Database Versions\n\n### Version 4.7 (Current)\n\nThis version removes the `pronouns` columns in `ww_hosts`, `ww_panelists`, and `ww_scorekeepers` tables and replaces them with new tables that allow for multiple preferred pronoun sets to be added. The new tables are `ww_hostpronounsmap`, `ww_panelistpronounsmap`, and `ww_skpronounsmap`.\n\nAnother change includes a relation map linking the `ww_locations.state` column with the `ww_postal_abbreviations.postal_abbreviation` column. This change allows for simplification of including a location's full state name in results while providing integrity of the fields.\n\nAnother addition is a table named `__metadata` that will be used to store database version and future metadata.\n\nDiagrams generated by MySQL Workbench are included under `v4.7/MySQL Workbench` as PNG, SVG, and PDF formats.\n\n![Wait Wait Don't Tell Me Stats Page Database v4.7 Diagram](v4.7/wwdtm_diagram.png)\n\n### Version 4.6.1\n\nThis supplemental version adds a new `ww_postal_abbreviations` table with `postal_abbreviation`, `name`, and `country` columns used to store two-letter postal abbreviations, the corresponding state/province/territory name, and country name.\n\n![Wait Wait Don't Tell Me Stats Page Database v4.6.1 Diagram](v4.6.1/wwdtm_Diagram.png)\n\n### Version 4.6\n\nThe initial database script and database diagram files for version 4.6 of the Stats Page database are located in the `v4.6` directory.\n\nVersion 4.6.1 includes the following changes:\n\n- Added `latitude` and `longitude` fields to the `ww_locations` table that will be used to store the corresponding values for each location\n- Added `ww_pronouns` table to store options for preferred pronouns\n- Added `hostpronouns`, `panelistpronouns` and `scorekeeperpronouns` column to `ww_hosts`, `ww_panelists` and `ww_scorekeepers` tables respectively. The columns reference the `pronounsid` column in the `ww_pronouns` table\n\nDue to issues with trying to generate diagrams using either MySQL Workbench or JetBrains DataGrip, I used [dbdiagram.io](https://dbdiagram.io/) to generate the diagrams for this version of the database. In lieu of a MySQL Workbench diagram file, a DBML representation of the database is included.\n\n![Wait Wait Don't Tell Me Stats Page Database v4.6 Diagram](v4.6/wwdtm_Diagram.png)\n\n### Version 4.5\n\nThe initial database script and database diagram files for version 4.5 of the Stats Page database are located in the `v4.5` directory.\n\nVersion 4.5 adds a `showurl` field to the `ww_shows` table that will be used to store URLs for each show page on NPR.org.\n\nDue to issues with trying to generate diagrams using either MySQL Workbench or JetBrains DataGrip, I used [dbdiagram.io](https://dbdiagram.io/) to generate the diagrams for this version of the database. In lieu of a MySQL Workbench diagram file, a DBML representation of the database is included.\n\n![Wait Wait Don't Tell Me Stats Page Database v4.5 Diagram](v4.5/wwdtm_Diagram.png)\n\n### Version 4.4\n\nThe initial database script and database diagram files for version 4.4 of the Stats Page database are located in the `v4.4` directory.\n\nVersion 4.4 brings support for multiple Bluff the Listener-like segments for each show by adding a new `segment` column to the `ww_showbluffmap` table. The column's default value is `1` and should be incremented for each additional segment for a given show ID.\n\nThe new version of the database will be used for upcoming versions of the following projects:\n\n- [wwdtm](https://github.com/questionlp/wwdtm)\n- [api.wwdt.me_v2](https://github.com/questionlp/api.wwdt.me_v2)\n- [graphs.wwdt.me_v2](https://github.com/questionlp/graphs.wwdt.me_v2)\n- [reports.wwdt.me_v2](https://github.com/questionlp/reports.wwdt.me_v2)\n- [stats.wwdt.me_v5](https://github.com/questionlp/stats.wwdt.me_v5)\n\nDue to issues with trying to generate diagrams using either MySQL Workbench or JetBrains DataGrip, I used [dbdiagram.io](https://dbdiagram.io/) to generate the diagrams for this version of the database. In lieu of a MySQL Workbench diagram file, a DBML representation of the database is included.\n\n![Wait Wait Don't Tell Me Stats Page Database v4.4 Diagram](v4.4/wwdtm_Diagram.png)\n\n### Version 4.3\n\nThe initial database script and database diagram files for version 4.3 of the Stats Page database are located in the `v4.3` directory.\n\nVersion 4.3 brings support for storing panelist starting scores and correct answers as decimal values by way of the new `panelistlrndstart_decimal` and `panelistlrndcorrect_decimal` columns in the `ww_showpnlmap` table.\n\n### Version 4.2\n\nThe initial database script and database diagram files for version 4.2 of the Stats Page database are located in the `v4.2` directory.\n\nVersion 4.2 brings support for storing panelist scores as a decimal value by way of the new `panelistscore_decimal` column in the `ww_showpnlmap` table.\n\n### Version 4.1\n\nThe initial database script and database diagram files for version 4.1 of the Stats Page database are located in the `v4.1` directory.\n\nVersion 4.1 brings the database, tables and all text columns to use the `utf8mb4` character set and `utf8mb4_unicode_ci` collation instead of `utf8` and `utf8_general_ci` used in prior versions. The change in character set did not require any changes in column data types, sizes or indexes.\n\nThis version of the database corresponds with the current versions of the following Wait Wait... Don't Tell Me! projects.\n\n- Active Projects\n  - [wwdtm](https://github.com/questionlp/wwdtm)\n  - [api.wwdt.me_v2](https://github.com/questionlp/api.wwdt.me_v2)\n  - [graphs.wwdt.me_v2](https://github.com/questionlp/graphs.wwdt.me_v2)\n  - [reports.wwdt.me_v2](https://github.com/questionlp/reports.wwdt.me_v2)\n  - [stats.wwdt.me_v5](https://github.com/questionlp/stats.wwdt.me_v5)\n  - [wwdtm_slugify](https://github.com/questionlp/wwdtm_slugify)\n- Archived or Deprecated Projects\n  - [libwwdtm](https://github.com/questionlp/libwwdtm)\n  - [api.wwdt.me](https://github.com/questionlp/api.wwdt.me)\n  - [graphs.wwdt.me](https://github.com/questionlp/graphs.wwdt.me)\n  - [reports.wwdt.me](https://github.com/questionlp/reports.wwdt.me)\n  - [stats.wwdt.me](https://github.com/questionlp/stats.wwdt.me)\n\n### Version 4\n\nThe initial database script and database diagram files for version 4 of the Stats Page database are located in the `v4` directory.\n\nVersion 4 of the database sheds all of the views that were created for previous versions of the database and the Stats Page.\n\n### Version 3\n\nThe initial database script and database diagram files for version 4 of the Stats Page database are located in the `v3` directory.\n\nThis version of the database corresponds with the legacy versions of the Wait Wait... Don't Tell Me! Stats Page web application:\n\n- [wwdtm_v2](https://github.com/questionlp/wwdt.me_v2)\n- [wwdtm_v3](https://github.com/questionlp/wwdt.me_v3)\n\nThe database diagram for the database was generated using [MySQL Workbench](https://www.mysql.com/products/workbench/):\n\n![Wait Wait Don't Tell Me Stats Page Database Diagram](v3/wwdtm_Diagram.png)\n\n## Contributing\n\nIf you would like contribute to this project, please make sure to review both the [Code of Conduct](CODE_OF_CONDUCT.md) and the [Contributing](CONTRIBUTING.md) documents in this repository.\n\n## License\n\nThe database script and schema are licensed under the terms of the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestionlp%2Fwwdtm_database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquestionlp%2Fwwdtm_database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestionlp%2Fwwdtm_database/lists"}