I am making a duplicate table for archiving data using
CREATE TABLE `new_table` AS
SELECT * FROM `original_table` WHERE `some condition exists`;
ALTER TABLE `new_table`
ADD PRIMARY KEY (`id`),
MODIFY COLUMN `id` INT NOT NULL AUTO_INCREMENT;
the problem is that when I sync my project and generate the code I don't get any of the normal view, edit, delete links.
Any idea why? And how to fix?
TIA - Greg