1 | -- phpMyAdmin SQL Dump
|
---|
2 | -- version 4.1.6
|
---|
3 | -- http://www.phpmyadmin.net
|
---|
4 | --
|
---|
5 | -- Host: 127.0.0.1
|
---|
6 | -- Generation Time: Apr 22, 2014 alle 23:11
|
---|
7 | -- Versione del server: 5.6.16
|
---|
8 | -- PHP Version: 5.5.9
|
---|
9 |
|
---|
10 | DROP TABLE `soraldo_ele_conf`;
|
---|
11 | CREATE TABLE `soraldo_ele_conf` (
|
---|
12 | `id_conf` int(11) NOT NULL AUTO_INCREMENT,
|
---|
13 | `descrizione` varchar(50) NOT NULL,
|
---|
14 | `limite` int(2) NOT NULL,
|
---|
15 | `consin` enum('0','1') NOT NULL DEFAULT '1',
|
---|
16 | `infpremio` int(3) NOT NULL,
|
---|
17 | `supsbarramento` int(3) NOT NULL,
|
---|
18 | `suppremio` int(3) NOT NULL,
|
---|
19 | `listinfsbar` int(3) NOT NULL DEFAULT '1',
|
---|
20 | `listinfconta` enum('0','1') NOT NULL DEFAULT '1',
|
---|
21 | `listsupconta` enum('0','1') NOT NULL DEFAULT '1',
|
---|
22 | `supminpremio` int(3) NOT NULL,
|
---|
23 | `infminpremio` int(3) NOT NULL,
|
---|
24 | `infdisgiunto` enum('0','1') NOT NULL DEFAULT '0',
|
---|
25 | `supdisgiunto` enum('0','1') NOT NULL DEFAULT '0',
|
---|
26 | `votolista` enum('0','1') NOT NULL DEFAULT '0',
|
---|
27 | `inffisso` enum('0','1') NOT NULL DEFAULT '0',
|
---|
28 | `supfisso` enum('0','1') NOT NULL DEFAULT '0',
|
---|
29 | `fascia_capoluogo` int(2) NOT NULL DEFAULT '0',
|
---|
30 | PRIMARY KEY (`id_conf`)
|
---|
31 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
|
---|
32 |
|
---|
33 |
|
---|
34 | --
|
---|
35 | -- Dumping data for table `soraldo_ele_conf`
|
---|
36 | --
|
---|
37 |
|
---|
38 |
|
---|
39 | /*!40000 ALTER TABLE `soraldo_ele_conf` DISABLE KEYS */;
|
---|
40 | LOCK TABLES `soraldo_ele_conf` WRITE;
|
---|
41 | 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
|
---|
42 | (1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
|
---|
43 | (2, 'Regione Sicilia precedente al 2008', 2, '0', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
|
---|
44 | (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),
|
---|
45 | (4, 'Regione Sicilia Legge n.6/2011', 5, '1', 67, 5, 60, 5, '1', '1', 40, 40, '1', '1', '0', '0', '0', 7),
|
---|
46 | (5, 'Legge Italiana 267/2000 con riduzione 2011', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7),
|
---|
47 | (6, 'Legge Italiana 267/2000 con riduzione 2012', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7),
|
---|
48 | (7, 'Legge Italiana 267/2000 con modifiche 2014', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6);
|
---|
49 | UNLOCK TABLES;
|
---|
50 | /*!40000 ALTER TABLE `soraldo_ele_conf` ENABLE KEYS */;
|
---|
51 |
|
---|
52 |
|
---|
53 | --
|
---|
54 | -- Database: `eleonline`
|
---|
55 | --
|
---|
56 |
|
---|
57 | -- --------------------------------------------------------
|
---|
58 |
|
---|
59 | --
|
---|
60 | -- Struttura della tabella `soraldo_ele_fasce`
|
---|
61 | --
|
---|
62 | DROP TABLE `soraldo_ele_fasce`;
|
---|
63 |
|
---|
64 | CREATE TABLE IF NOT EXISTS `soraldo_ele_fasce` (
|
---|
65 | `id_fascia` int(2) NOT NULL,
|
---|
66 | `abitanti` int(11) NOT NULL,
|
---|
67 | `seggi` int(4) NOT NULL,
|
---|
68 | `id_conf` int(11) DEFAULT '1',
|
---|
69 | KEY `id_fascia` (`id_fascia`)
|
---|
70 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
71 |
|
---|
72 | --
|
---|
73 | -- Dump dei dati per la tabella `soraldo_ele_fasce`
|
---|
74 | --
|
---|
75 |
|
---|
76 | INSERT INTO `soraldo_ele_fasce` (`id_fascia`, `abitanti`, `seggi`, `id_conf`) VALUES
|
---|
77 | (1, 3000, 12, 1),
|
---|
78 | (2, 10000, 16, 1),
|
---|
79 | (3, 15000, 20, 1),
|
---|
80 | (4, 30000, 20, 1),
|
---|
81 | (5, 100000, 30, 1),
|
---|
82 | (6, 250000, 40, 1),
|
---|
83 | (7, 500000, 46, 1),
|
---|
84 | (8, 1000000, 50, 1),
|
---|
85 | (9, 100000000, 60, 1),
|
---|
86 | (1, 3000, 12, 2),
|
---|
87 | (2, 10000, 16, 2),
|
---|
88 | (3, 15000, 20, 2),
|
---|
89 | (4, 30000, 20, 2),
|
---|
90 | (5, 100000, 30, 2),
|
---|
91 | (6, 250000, 40, 2),
|
---|
92 | (7, 500000, 46, 2),
|
---|
93 | (8, 1000000, 50, 2),
|
---|
94 | (9, 100000000, 60, 2),
|
---|
95 | (1, 3000, 9, 3),
|
---|
96 | (2, 5000, 9, 3),
|
---|
97 | (4, 15000, 16, 3),
|
---|
98 | (3, 10000, 12, 3),
|
---|
99 | (5, 30000, 16, 3),
|
---|
100 | (6, 100000, 24, 3),
|
---|
101 | (7, 250000, 32, 3),
|
---|
102 | (8, 500000, 36, 3),
|
---|
103 | (9, 1000000, 40, 3),
|
---|
104 | (10, 100000000, 48, 3),
|
---|
105 | (1, 3000, 6, 4),
|
---|
106 | (2, 5000, 7, 4),
|
---|
107 | (3, 10000, 12, 4),
|
---|
108 | (4, 15000, 16, 4),
|
---|
109 | (5, 30000, 16, 4),
|
---|
110 | (6, 100000, 24, 4),
|
---|
111 | (7, 250000, 32, 4),
|
---|
112 | (8, 500000, 36, 4),
|
---|
113 | (9, 1000000, 40, 4),
|
---|
114 | (10, 100000000, 48, 4),
|
---|
115 | (1, 3000, 9, 5),
|
---|
116 | (2, 5000, 9, 5),
|
---|
117 | (3, 10000, 12, 5),
|
---|
118 | (4, 15000, 16, 5),
|
---|
119 | (5, 30000, 16, 5),
|
---|
120 | (6, 100000, 24, 5),
|
---|
121 | (7, 250000, 32, 5),
|
---|
122 | (8, 500000, 36, 5),
|
---|
123 | (9, 1000000, 40, 5),
|
---|
124 | (10, 100000000, 48, 5),
|
---|
125 | (1, 3000, 6, 6),
|
---|
126 | (2, 5000, 7, 6),
|
---|
127 | (3, 10000, 10, 6),
|
---|
128 | (4, 15000, 16, 6),
|
---|
129 | (5, 30000, 16, 6),
|
---|
130 | (6, 100000, 24, 6),
|
---|
131 | (7, 250000, 32, 6),
|
---|
132 | (8, 500000, 36, 6),
|
---|
133 | (9, 1000000, 40, 6),
|
---|
134 | (10, 100000000, 48, 6),
|
---|
135 | (1, 3000, 10, 7),
|
---|
136 | (2, 10000, 12, 7),
|
---|
137 | (3, 15000, 16, 7),
|
---|
138 | (4, 30000, 16, 7),
|
---|
139 | (5, 100000, 24, 7),
|
---|
140 | (6, 250000, 32, 7),
|
---|
141 | (7, 500000, 36, 7),
|
---|
142 | (8, 1000000, 40, 7),
|
---|
143 | (9, 100000000, 48, 7);
|
---|
144 |
|
---|
145 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
---|
146 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
---|
147 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
---|