drop table if exists `sections`; create table `sections` ( `id` int unsigned not null auto_increment primary key, `parent` int unsigned not null, `tag` char(255) not null, `ord` int unsigned not null, `name` char(255) not null, `title` char(255) not null, `type` int unsigned not null, `script` char(255) not null, `tpl` char(255) not null, `text` text not null, `params` text not null, `active` bool not null, `show_in_menu` bool not null, key `tag` (`tag`) ) engine=innodb;