Inappropriate error message about views lacking primary keys

Created on 2 November 2023, about 1 year ago
Updated 1 December 2023, about 1 year ago

Problem/Motivation

My site is running Drupal 10.1.6 with MariaDB 10.3.39. The status page displays an error message stating that some of my tables do not contain primary keys. However, the tables listed in the error message are actually SQL views. I believe that it is not possible to define a primary key on a view. Should I just ignore the error, or is there a way to fix it?

Steps to reproduce

  1. Create a view in the database.
  2. Navigate to the status page.

Proposed resolution

Do not display warnings about views lacking primary keys.

🐛 Bug report
Status

Closed: duplicate

Version

11.0 🔥

Component
Database 

Last updated 2 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇺🇸United States david radcliffe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024