source: trunk/sql/aggiornamento-2.0_2014-05-02.sql@ 221

Last change on this file since 221 was 205, checked in by roby, 11 years ago

integra la rev 204

File size: 1.5 KB
Line 
1DROP TABLE IF EXISTS `soraldo_ele_tipo`;
2CREATE TABLE `soraldo_ele_tipo` (
3 `tipo_cons` int(11) NOT NULL default '0',
4 `descrizione` varchar(30) default NULL,
5 `lingua` varchar(2) NOT NULL default '0',
6 `genere` tinyint(4) NOT NULL default '0',
7 `voto_g` enum('0','1') NOT NULL default '0',
8 `voto_l` enum('0','1') NOT NULL default '0',
9 `voto_c` enum('0','1') NOT NULL default '0',
10 `circo` enum('0','1') NOT NULL default '0',
11 PRIMARY KEY (`tipo_cons`)
12) ENGINE=MyISAM DEFAULT CHARSET=latin1;
13
14--
15-- Dumping data for table `soraldo_ele_tipo`
16--
17
18
19/*!40000 ALTER TABLE `soraldo_ele_tipo` DISABLE KEYS */;
20LOCK TABLES `soraldo_ele_tipo` WRITE;
21INSERT INTO `soraldo_ele_tipo` VALUES (1,'PROVINCIALI','it',3,'0','0','0','0'),(2,'REFERENDUM','it',0,'0','0','0','0'),(3,'COMUNALI','it',5,'0','0','0','0'),(4,'CIRCOSCRIZIONALI','it',5,'0','0','0','1'),(5,'BALLOTTAGGIO COMUNALI','it',1,'0','0','0','0'),(6,'CAMERA','it',2,'0','0','0','0'),(7,'SENATO','it',2,'0','0','0','0'),(8,'EUROPEE','it',4,'1','0','0','0'),(9,'REGIONALI','it',5,'0','0','0','0'),(10,'SENATO CON GRUPPI','it',5,'1','0','1','0'),(11,'CAMERA CON GRUPPI','it',5,'1','0','1','0'),(12,'PROVINCIALI CON COLLEGI','it',3,'0','0','0','1'),(13,'BALLOTTAGGIO PROVINCIALI','it',1,'0','0','0','0'),(14,'EUROPEE CON COLLEGI','it',4,'0','0','0','1'),(15,'CAMERA CON GRUPPI E COLLEGI','it',5,'1','0','1','1'),(16,'SENATO CON GRUPPI E COLLEGI','it',5,'1','0','1','1'),(17,'REGIONALI CON COLLEGI','it',5,'0','0','0','1');
22UNLOCK TABLES;
23/*!40000 ALTER TABLE `soraldo_ele_tipo` ENABLE KEYS */;
Note: See TracBrowser for help on using the repository browser.