'Add primary keys on unique columns to all tables (PHPMYADMIN)
I am getting this in phpmyadmin:
Current selection does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available.
I wanted to have a sql code that can create a primary keys across all tables for each column so that I won't be adding primary keys to each id column on each table.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
