Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299794

Inappropriate error message about views lacking primary keys

$
0
0

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.


Viewing all articles
Browse latest Browse all 299794

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>