CREATE TABLE `widgets` (
`wid` int not null AUTO_INCREMENT,
`position` int not null,
`side` varchar(100) not null,
`type` varchar(100) not null,
`active` boolean DEFAULT 0 not null,
`location` varchar(100) not null,
`data` text not null,
primary key(`wid`)
);