It seems that some tables do not have primary keys nor any unique attributes declared:
- 18 with PostgreSQL [categorylinks externallinks hitcounter imagelinks langlinks mediawiki_version oldimage pagelinks profiling protected_titles querycache querycachetwo redirect templatelinks user_groups user_newtalk watchlist]
- 4 with MySQL [oldimage querycache querycachetwo user_newtalk]).
I'm pretty sure that they must exist, and declaring them could help trigger
latent bugs in the software, as the database would check for the constraints.
T60032: Allow page_props to be queried by value.
T67251: Query-continue for imageinfo returns timestamp which is ambiguous if multiple files were uploaded within the same second under the same file name