Inappropriate error message about views lacking primary keys

Created on 2 November 2023, 8 months ago
Updated 1 December 2023, 7 months 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 about 12 hours 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.69.0 2024