﻿
CREATE TABLE `sud_vote` (
  `id` int(11) NOT NULL auto_increment,
  `id_vote` int(11) NOT NULL,
  `id_user` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;




CREATE TABLE `sud` (
  `id` int(11) NOT NULL auto_increment,
  `vr` int(11) NOT NULL,
  `pod_sud` int(11) default NULL,
  `zag` text NOT NULL,
  `vin` int(11) default NULL,
  `obv` text NOT NULL,
  `sud_name` text NOT NULL,
  `pod_name` text NOT NULL,
  `plus` int(11) NOT NULL,
  `minus` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;