
CREATE TABLE `dems` (
  `id` int(10) UNSIGNED NOT NULL,
  `id_user` int(10) NOT NULL,
  `time` int(10) NOT NULL,
  `mod` int(10) DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


ALTER TABLE `dems`
  ADD PRIMARY KEY (`id`);


ALTER TABLE `dems`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;

