Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1788

[3.3.x] Support Forum • Re: Some database tables like phpbb_acl_groups do not have any PRIMARY KEY.

$
0
0
AI now suggests only adding unique constraint to the tables not having a PK.
nstead of adding an AUTO_INCREMENT PRIMARY KEY, you could only add the unique constraint (UNIQUE KEY (user_id, group_id)). This would ensure data integrity without modifying the core structure too much, thus reducing potential conflicts with future updates.
Any thoughts from esteemed community members on that?
Main motivation here is still to be able to use e.g. InnoDB Cluster, which requires uniqueness of the entries to the tables, in an order to have proper replication.

Statistics: Posted by Foxina — Sat Oct 12, 2024 3:25 pm



Viewing all articles
Browse latest Browse all 1788

Trending Articles