drop table if exists menurels;
create table menurels (
    relid   INT PRIMARY KEY AUTO_INCREMENT,
    menu_id INT NOT NULL,
    link_id INT NOT NULL
) ENGINE=INNODB, AUTO_INCREMENT=0;
