MariaDB [Wikipedia]> describe category_pages;
+-------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+------------+------+-----+---------+-------+
| id | bigint(20) | NO | MUL | NULL | |
| pages | int(11) | YES | | NULL | |
+-------+------------+------+-----+---------+-------+
2 rows in set (0.95 sec)
This should be actually category_id ('id') and page_id ("pages"). Right?
MariaDB [Wikipedia]> describe page_categories;
+-------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+------------+------+-----+---------+-------+
| id | bigint(20) | NO | MUL | NULL | |
| pages | int(11) | YES | | NULL | |
+-------+------------+------+-----+---------+-------+
2 rows in set (0.01 sec)