DROP TABLE `amendments`;


CREATE TABLE IF NOT EXISTS `amendments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `proposals_sentence_id` int(11) DEFAULT NULL,
  `proposer_uid` varchar(100) NOT NULL,
  `status` varchar(16) DEFAULT NULL,
  `proposal_id` int(11) DEFAULT NULL,
  `change_type` varchar(16) DEFAULT NULL,
  `sentence_id` int(11) DEFAULT NULL,
  `jc_comment` varchar(1000) DEFAULT NULL,
  `category` varchar(32) DEFAULT NULL,
  `title` varchar(128) DEFAULT NULL,
  `order` smallint(6) DEFAULT NULL,
  `last_change` varchar(255) DEFAULT NULL,
  `title2` varchar(128) DEFAULT NULL,
  `order2` smallint(6) DEFAULT NULL,
  `article` smallint(6) DEFAULT NULL,
  `article_title` varchar(128) DEFAULT NULL,
  `paragraph` smallint(6) DEFAULT NULL,
  `sentence` smallint(6) DEFAULT NULL,
  `sentence_text` varchar(5000) DEFAULT NULL,
  `agora_id_start` smallint(6) DEFAULT NULL,
  `agora_id_end` smallint(6) DEFAULT NULL,
  `title_status` varchar(16) DEFAULT NULL,
  `title2_status` varchar(16) DEFAULT NULL,
  `article_title_status` varchar(16) DEFAULT NULL,
  `paragraph_status` varchar(16) DEFAULT NULL,  
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
