Changeset 189 for trunk/install/sql
- Timestamp:
- Mar 2, 2014, 4:49:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/sql/eleonline.sql
r185 r189 289 289 DROP TABLE IF EXISTS `soraldo_ele_conf`; 290 290 CREATE TABLE `soraldo_ele_conf` ( 291 `id_conf` int(11) NOT NULL auto_increment,291 `id_conf` int(11) NOT NULL AUTO_INCREMENT, 292 292 `descrizione` varchar(50) NOT NULL, 293 293 `limite` int(2) NOT NULL, 294 `consin` enum('0','1') NOT NULL default'1',294 `consin` enum('0','1') NOT NULL DEFAULT '1', 295 295 `infpremio` int(3) NOT NULL, 296 296 `supsbarramento` int(3) NOT NULL, 297 297 `suppremio` int(3) NOT NULL, 298 `listinfsbar` int(3) NOT NULL default'1',299 `listinfconta` enum('0','1') NOT NULL default'1',300 `listsupconta` enum('0','1') NOT NULL default'1',298 `listinfsbar` int(3) NOT NULL DEFAULT '1', 299 `listinfconta` enum('0','1') NOT NULL DEFAULT '1', 300 `listsupconta` enum('0','1') NOT NULL DEFAULT '1', 301 301 `supminpremio` int(3) NOT NULL, 302 302 `infminpremio` int(3) NOT NULL, 303 303 `infdisgiunto` enum('0','1') NOT NULL DEFAULT '0', 304 304 `supdisgiunto` enum('0','1') NOT NULL DEFAULT '0', 305 PRIMARY KEY (`id_conf`) 306 ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 305 `votolista` enum('0','1') NOT NULL DEFAULT '0', 306 `inffisso` enum('0','1') NOT NULL DEFAULT '0', 307 `supfisso` enum('0','1') NOT NULL DEFAULT '0', 308 `fascia_capoluogo` int(2) NOT NULL DEFAULT '0', 309 PRIMARY KEY (`id_conf`) 310 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; 311 307 312 308 313 -- … … 313 318 /*!40000 ALTER TABLE `soraldo_ele_conf` DISABLE KEYS */; 314 319 LOCK TABLES `soraldo_ele_conf` WRITE; 315 INSERT INTO `soraldo_ele_conf` VALUES 316 (1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0'), 317 (2, 'Regione Sicilia precedente al 2008', 2, '0', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0'), 318 (3, 'Regione Sicilia Legge n. 22 del 16/12/2008', 2, '0', 67, 5, 60, 3, '1', '0', 40, 40, '0', '0'), 319 (4, 'Regione Sicilia Legge n.6/2011', 5, '1', 67, 5, 60, 5, '1', '1', 40, 40, '1', '1'); 320 INSERT INTO `soraldo_ele_conf` (`id_conf`, `descrizione`, `limite`, `consin`, `infpremio`, `supsbarramento`, `suppremio`, `listinfsbar`, `listinfconta`, `listsupconta`, `supminpremio`, `infminpremio`, `infdisgiunto`, `supdisgiunto`, `votolista`, `inffisso`, `supfisso`, `fascia_capoluogo`) VALUES 321 (1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6), 322 (2, 'Regione Sicilia precedente al 2008', 2, '0', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6), 323 (3, 'Regione Sicilia Legge n. 22 del 16/12/2008', 2, '0', 67, 5, 60, 3, '1', '0', 40, 40, '0', '0', '0', '0', '0', 7), 324 (4, 'Regione Sicilia Legge n.6/2011', 5, '1', 67, 5, 60, 5, '1', '1', 40, 40, '1', '1', '0', '0', '0', 7), 325 (5, 'Legge Italiana 267/2000 con riduzione 2011', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7), 326 (6, 'Legge Italiana 267/2000 con riduzione 2012', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7); 320 327 UNLOCK TABLES; 321 328 /*!40000 ALTER TABLE `soraldo_ele_conf` ENABLE KEYS */; … … 334 341 `preferita` enum('0','1') NOT NULL default '0', 335 342 `preferenze` TINYINT( 1 ) NOT NULL DEFAULT '1', 343 `id_fascia` INT( 2 ) NOT NULL DEFAULT '1', 344 `vismf` ENUM( '0', '1' ) NOT NULL DEFAULT '0', 336 345 PRIMARY KEY (`id_cons`), 337 346 UNIQUE KEY `comune` (`id_comune`,`id_cons_gen`) … … 404 413 `id_fascia` int(2) NOT NULL, 405 414 `abitanti` int(11) NOT NULL, 406 `data_inizio` date NOT NULL,407 `data_fine` date NOT NULL,408 415 `seggi` int(4) NOT NULL, 416 `id_conf` int(11) DEFAULT '1', 409 417 KEY `id_fascia` (`id_fascia`) 410 418 ) ENGINE=MyISAM DEFAULT CHARSET=latin1; … … 417 425 /*!40000 ALTER TABLE `soraldo_ele_fasce` DISABLE KEYS */; 418 426 INSERT INTO `soraldo_ele_fasce` VALUES 419 (1, 3000, '2000-01-01', '2010-12-31', 12), 420 (2, 10000, '2000-01-01', '2010-12-31', 16), 421 (3, 15000, '2000-01-01', '2010-12-31', 20), 422 (4, 30000, '2000-01-01', '2010-12-31', 20), 423 (5, 100000, '2000-01-01', '2010-12-31', 30), 424 (6, 250000, '2000-01-01', '2010-12-31', 40), 425 (7, 500000, '2000-01-01', '2010-12-31', 46), 426 (8, 1000000, '2000-01-01', '2010-12-31', 50), 427 (9, 100000000, '2000-01-01', '2010-12-31', 60), 428 (4, 30000, '2011-01-01', '2011-09-14', 16), 429 (1, 3000, '2011-01-01', '2011-09-14', 9), 430 (2, 10000, '2011-01-01', '2011-09-14', 12), 431 (3, 15000, '2011-01-01', '2011-09-14', 16), 432 (5, 100000, '2011-01-01', '2011-09-14', 24), 433 (6, 250000, '2011-01-01', '2011-09-14', 32), 434 (7, 500000, '2011-01-01', '2011-09-14', 36), 435 (8, 1000000, '2011-01-01', '2011-09-14', 40), 436 (9, 100000000, '2011-01-01', '2011-09-14', 48), 437 (1, 1000, '2011-09-15', '0000-00-00', 6), 438 (2, 3000, '2011-09-15', '0000-00-00', 6), 439 (3, 5000, '2011-09-15', '0000-00-00', 7), 440 (4, 10000, '2011-09-15', '0000-00-00', 10), 441 (5, 15000, '2011-09-15', '0000-00-00', 16), 442 (6, 30000, '2011-09-15', '0000-00-00', 16), 443 (7, 100000, '2011-09-15', '0000-00-00', 24), 444 (8, 250000, '2011-09-15', '0000-00-00', 32), 445 (9, 500000, '2011-09-15', '0000-00-00', 36), 446 (10, 1000000, '2011-09-15', '0000-00-00', 40), 447 (11, 100000000, '2011-09-15', '0000-00-00', 48); 427 (1, 3000, 12, 1), 428 (2, 10000, 16, 1), 429 (3, 15000, 20, 1), 430 (4, 30000, 20, 1), 431 (5, 100000, 30, 1), 432 (6, 250000, 40, 1), 433 (7, 500000, 46, 1), 434 (8, 1000000, 50, 1), 435 (9, 100000000, 60, 1), 436 (1, 3000, 9, 5), 437 (2, 5000, 9, 5), 438 (3, 10000, 12, 5), 439 (4, 15000, 16, 5), 440 (5, 30000, 16, 5), 441 (6, 100000, 24, 5), 442 (7, 250000, 32, 5), 443 (8, 500000, 36, 5), 444 (9, 1000000, 40, 5), 445 (10, 100000000, 48, 5), 446 (1, 3000, 6, 6), 447 (2, 5000, 7, 6), 448 (3, 10000, 10, 6), 449 (4, 15000, 16, 6), 450 (5, 30000, 16, 6), 451 (6, 100000, 24, 6), 452 (7, 250000, 32, 6), 453 (8, 500000, 36, 6), 454 (9, 1000000, 40, 6), 455 (10, 100000000, 48, 6), 456 (1, 3000, 12, 2), 457 (2, 10000, 16, 2), 458 (3, 15000, 20, 2), 459 (4, 30000, 20, 2), 460 (5, 100000, 30, 2), 461 (6, 250000, 40, 2), 462 (7, 500000, 46, 2), 463 (8, 1000000, 50, 2), 464 (9, 100000000, 60, 2), 465 (1, 3000, 9, 3), 466 (2, 5000, 9, 3), 467 (4, 15000, 16, 3), 468 (3, 10000, 12, 3), 469 (5, 30000, 16, 3), 470 (6, 100000, 24, 3), 471 (7, 250000, 32, 3), 472 (8, 500000, 36, 3), 473 (9, 1000000, 40, 3), 474 (10, 100000000, 48, 3), 475 (1, 3000, 6, 4), 476 (2, 5000, 7, 4), 477 (3, 10000, 12, 4), 478 (4, 15000, 16, 4), 479 (5, 30000, 16, 4), 480 (6, 100000, 24, 4), 481 (7, 250000, 32, 4), 482 (8, 500000, 36, 4), 483 (9, 1000000, 40, 4), 484 (10, 100000000, 48, 4); 448 485 /*!40000 ALTER TABLE `soraldo_ele_fasce` ENABLE KEYS */; 449 486 UNLOCK TABLES;
Note:
See TracChangeset
for help on using the changeset viewer.