source: trunk/install/sql/eleonline.sql@ 362

Last change on this file since 362 was 362, checked in by roby, 2 years ago

Ritocchi e sistemazioni varie di completamento delle mofifiche precedenti

File size: 32.0 KB
Line 
1-- phpMyAdmin SQL Dump
2-- version 5.1.0
3-- https://www.phpmyadmin.net/
4--
5-- Host: localhost
6-- Creato il: Mar 11, 2022 alle 17:08
7-- Versione del server: 10.3.27-MariaDB-0+deb10u1
8-- Versione PHP: 7.3.31-1~deb10u1
9
10SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11START TRANSACTION;
12SET time_zone = "+00:00";
13
14
15/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
16/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
17/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
18/*!40101 SET NAMES utf8mb4 */;
19
20--
21-- Database: `eleonline3`
22--
23
24-- --------------------------------------------------------
25
26--
27-- Struttura della tabella `soraldo_access`
28--
29
30CREATE TABLE `soraldo_access` (
31 `access_id` int(10) NOT NULL,
32 `access_title` varchar(20) DEFAULT NULL
33) ENGINE=MyISAM DEFAULT CHARSET=utf8;
34
35--
36-- Dump dei dati per la tabella `soraldo_access`
37--
38
39INSERT INTO `soraldo_access` (`access_id`, `access_title`) VALUES
40(1, 'Sospeso'),
41(16, 'Operatore'),
42(32, 'Amministratore'),
43(64, 'Amministratore Unico'),
44(256, 'Superuser');
45
46-- --------------------------------------------------------
47
48--
49-- Struttura della tabella `soraldo_authors`
50--
51
52CREATE TABLE `soraldo_authors` (
53 `aid` varchar(25) NOT NULL DEFAULT '',
54 `name` varchar(50) DEFAULT NULL,
55 `id_comune` int(11) NOT NULL DEFAULT 0,
56 `email` varchar(255) DEFAULT NULL,
57 `pwd` varchar(40) DEFAULT NULL,
58 `counter` int(11) NOT NULL DEFAULT 0,
59 `adminop` tinyint(2) NOT NULL DEFAULT 0,
60 `admincomune` tinyint(2) NOT NULL DEFAULT 0,
61 `adminsuper` tinyint(2) NOT NULL DEFAULT 0,
62 `admlanguage` varchar(30) NOT NULL DEFAULT ''
63) ENGINE=MyISAM DEFAULT CHARSET=utf8;
64
65--
66-- Dump dei dati per la tabella `soraldo_authors`
67--
68
69INSERT INTO `soraldo_authors` (`aid`, `name`, `id_comune`, `email`, `pwd`, `counter`, `adminop`, `admincomune`, `adminsuper`, `admlanguage`) VALUES
70('suser', 'suser', 0, 'test@', '098f6bcd4621d373cade4e832627b4f6', 1, 0, 0, 1, 'it');
71
72-- --------------------------------------------------------
73
74--
75-- Struttura della tabella `soraldo_config`
76--
77
78CREATE TABLE `soraldo_config` (
79 `sitename` varchar(255) NOT NULL DEFAULT '',
80 `siteurl` varchar(255) NOT NULL DEFAULT '',
81 `site_logo` varchar(255) NOT NULL DEFAULT '',
82 `slogan` varchar(255) NOT NULL DEFAULT '',
83 `startdate` varchar(50) NOT NULL DEFAULT '',
84 `adminmail` varchar(255) NOT NULL DEFAULT '',
85 `tema` varchar(25) NOT NULL DEFAULT '',
86 `foot` mediumtext NOT NULL,
87 `language` char(3) NOT NULL DEFAULT '',
88 `blocco` enum('0','1') NOT NULL DEFAULT '0',
89 `testata` blob DEFAULT NULL,
90 `nome_testata` varchar(50) NOT NULL DEFAULT '',
91 `fileout` varchar(255) NOT NULL DEFAULT '',
92 `copyright` mediumtext NOT NULL,
93 `versione` int(3) DEFAULT NULL,
94 `patch` int(3) NOT NULL DEFAULT 0,
95 `siteistat` int(11) NOT NULL DEFAULT 0,
96 `multicomune` enum('0','1') NOT NULL DEFAULT '0',
97 `flash` enum('0','1') NOT NULL DEFAULT '0',
98 `displayerrors` enum('0','1') NOT NULL DEFAULT '0',
99 `gkey` varchar(100) NOT NULL DEFAULT '',
100 `googlemaps` enum('0','1') NOT NULL DEFAULT '0',
101 `editor` enum('0','1') NOT NULL DEFAULT '1',
102 `tema_on` enum('0','1') NOT NULL DEFAULT '1',
103 `ed_user` varchar(25) NOT NULL DEFAULT ''
104) ENGINE=MyISAM DEFAULT CHARSET=utf8;
105
106--
107-- Dump dei dati per la tabella `soraldo_config`
108--
109
110INSERT INTO `soraldo_config` (`sitename`, `siteurl`, `site_logo`, `slogan`, `startdate`, `adminmail`, `tema`, `foot`, `language`, `blocco`, `testata`, `nome_testata`, `fileout`, `copyright`, `Versione`, `patch`, `siteistat`, `multicomune`, `flash`, `displayerrors`, `gkey`, `googlemaps`, `editor`, `tema_on`, `ed_user`) VALUES
111('', 'https://www.eleonline.it', '', 'Sito istituzionale', 'Maggio 2022', 'admin@localhost', 'facebook', '<b>Comune di Test</b><br>\r\nvia - \r\nTel: Fax: \r\n<hr>', 'it', '1', '', '', '', 'Gpl v3', 2, 0, 84023, '1', '0', '0', '', '0', '1', '1', 'Admin');
112
113-- --------------------------------------------------------
114
115--
116-- Struttura della tabella `soraldo_doc_cons`
117--
118
119CREATE TABLE `soraldo_doc_cons` (
120 `id_cons` int(11) NOT NULL DEFAULT 0,
121 `id_doc` int(11) NOT NULL DEFAULT 0,
122 `tabella` varchar(25) NOT NULL DEFAULT ''
123) ENGINE=MyISAM DEFAULT CHARSET=utf8;
124
125-- --------------------------------------------------------
126
127--
128-- Struttura della tabella `soraldo_ele_candidati`
129--
130
131CREATE TABLE `soraldo_ele_candidati` (
132 `id_cand` int(11) NOT NULL,
133 `id_cons` int(11) NOT NULL DEFAULT 0,
134 `id_lista` int(11) NOT NULL DEFAULT 0,
135 `num_lista` int(2) UNSIGNED NOT NULL,
136 `cognome` varchar(50) DEFAULT NULL,
137 `nome` varchar(50) DEFAULT NULL,
138 `note` text NOT NULL,
139 `simbolo` varchar(30) NOT NULL DEFAULT '',
140 `num_cand` int(7) NOT NULL DEFAULT 0
141) ENGINE=MyISAM DEFAULT CHARSET=utf8;
142
143-- --------------------------------------------------------
144
145--
146-- Struttura della tabella `soraldo_ele_circoscrizione`
147--
148
149CREATE TABLE `soraldo_ele_circoscrizione` (
150 `id_cons` int(11) NOT NULL DEFAULT 0,
151 `id_circ` int(11) NOT NULL,
152 `num_circ` int(7) NOT NULL DEFAULT 0,
153 `descrizione` mediumtext DEFAULT NULL
154) ENGINE=MyISAM DEFAULT CHARSET=utf8;
155
156-- --------------------------------------------------------
157
158--
159-- Struttura della tabella `soraldo_ele_collegi`
160--
161
162CREATE TABLE `soraldo_ele_collegi` (
163 `id_collegio` int(11) NOT NULL,
164 `id_cons_gen` int(11) NOT NULL DEFAULT 0,
165 `descrizione` mediumtext DEFAULT NULL
166) ENGINE=MyISAM DEFAULT CHARSET=utf8;
167
168-- --------------------------------------------------------
169
170--
171-- Struttura della tabella `soraldo_ele_come`
172--
173
174CREATE TABLE `soraldo_ele_come` (
175 `id_cons` int(11) NOT NULL DEFAULT 0,
176 `mid` int(7) NOT NULL,
177 `title` varchar(150) NOT NULL DEFAULT '',
178 `preamble` mediumtext NOT NULL,
179 `content` mediumtext NOT NULL,
180 `editimage` varchar(100) NOT NULL DEFAULT ''
181) ENGINE=MyISAM DEFAULT CHARSET=utf8;
182
183-- --------------------------------------------------------
184
185--
186-- Struttura della tabella `soraldo_ele_comuni`
187--
188
189CREATE TABLE `soraldo_ele_comuni` (
190 `id_comune` int(11) NOT NULL DEFAULT 0,
191 `descrizione` varchar(50) DEFAULT NULL,
192 `indirizzo` varchar(50) DEFAULT NULL,
193 `centralino` varchar(15) DEFAULT NULL,
194 `fax` varchar(15) DEFAULT NULL,
195 `email` varchar(50) DEFAULT NULL,
196 `fascia` tinyint(4) NOT NULL DEFAULT 0,
197 `capoluogo` enum('0','1') NOT NULL DEFAULT '0',
198 `simbolo` mediumtext DEFAULT NULL,
199 `stemma` blob DEFAULT NULL,
200 `id_cons` int(11) DEFAULT 0,
201 `cap` mediumtext DEFAULT NULL
202) ENGINE=MyISAM DEFAULT CHARSET=utf8;
203
204-- --------------------------------------------------------
205
206--
207-- Struttura della tabella `soraldo_ele_comu_collegi`
208--
209
210CREATE TABLE `soraldo_ele_comu_collegi` (
211 `id_collegio` int(11) NOT NULL DEFAULT 0,
212 `id_cons` int(11) NOT NULL DEFAULT 0,
213 `id_comune` int(11) NOT NULL DEFAULT 0,
214 `id_cons_gen` int(11) NOT NULL DEFAULT 0
215) ENGINE=MyISAM DEFAULT CHARSET=utf8;
216
217-- --------------------------------------------------------
218
219--
220-- Struttura della tabella `soraldo_ele_conf`
221--
222
223CREATE TABLE `soraldo_ele_conf` (
224 `id_conf` int(11) NOT NULL,
225 `descrizione` varchar(50) NOT NULL,
226 `limite` int(2) NOT NULL,
227 `consin` enum('0','1') NOT NULL DEFAULT '1',
228 `infpremio` int(3) NOT NULL,
229 `supsbarramento` int(3) NOT NULL,
230 `suppremio` int(3) NOT NULL,
231 `listinfsbar` int(3) NOT NULL DEFAULT 1,
232 `listinfconta` enum('0','1') NOT NULL DEFAULT '1',
233 `listsupconta` enum('0','1') NOT NULL DEFAULT '1',
234 `supminpremio` int(3) NOT NULL,
235 `infminpremio` int(3) NOT NULL,
236 `infdisgiunto` enum('0','1') NOT NULL DEFAULT '0',
237 `supdisgiunto` enum('0','1') NOT NULL DEFAULT '0',
238 `votolista` enum('0','1') NOT NULL DEFAULT '0',
239 `inffisso` enum('0','1') NOT NULL DEFAULT '0',
240 `supfisso` enum('0','1') NOT NULL DEFAULT '0',
241 `fascia_capoluogo` int(2) NOT NULL DEFAULT 0
242) ENGINE=MyISAM DEFAULT CHARSET=utf8;
243
244--
245-- Dump dei dati per la tabella `soraldo_ele_conf`
246--
247
248INSERT 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
249(1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
250(2, 'Regione Sicilia precedente al 2008', 2, '0', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
251(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),
252(4, 'Regione Sicilia Legge n.6/2011', 5, '1', 67, 5, 60, 5, '1', '1', 40, 40, '1', '1', '0', '0', '0', 7),
253(5, 'Legge Italiana 267/2000 con riduzione 2011', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7),
254(6, 'Legge Italiana 267/2000 con riduzione 2012', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7),
255(7, 'Legge Italiana 267/2000 con modifiche 2014', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6);
256
257-- --------------------------------------------------------
258
259--
260-- Struttura della tabella `soraldo_ele_consultazione`
261--
262
263CREATE TABLE `soraldo_ele_consultazione` (
264 `id_cons_gen` int(11) NOT NULL,
265 `descrizione` mediumtext DEFAULT NULL,
266 `data_inizio` date DEFAULT NULL,
267 `data_fine` date DEFAULT NULL,
268 `tipo_cons` int(7) NOT NULL DEFAULT 0
269) ENGINE=MyISAM DEFAULT CHARSET=utf8;
270
271-- --------------------------------------------------------
272
273--
274-- Struttura della tabella `soraldo_ele_cons_comune`
275--
276
277CREATE TABLE `soraldo_ele_cons_comune` (
278 `id_cons` int(11) NOT NULL,
279 `chiusa` set('0','1','2') NOT NULL DEFAULT '0',
280 `id_comune` int(11) NOT NULL DEFAULT 0,
281 `id_cons_gen` int(11) NOT NULL DEFAULT 0,
282 `id_conf` int(11) NOT NULL DEFAULT 0,
283 `preferita` enum('0','1') NOT NULL DEFAULT '0',
284 `preferenze` tinyint(1) NOT NULL DEFAULT 1,
285 `id_fascia` int(2) NOT NULL DEFAULT 1,
286 `vismf` enum('0','1') NOT NULL DEFAULT '0',
287 `solo_gruppo` enum('0','1') DEFAULT '0',
288 `disgiunto` enum('0','1') NOT NULL DEFAULT '0'
289) ENGINE=MyISAM DEFAULT CHARSET=utf8;
290
291-- --------------------------------------------------------
292
293--
294-- Struttura della tabella `soraldo_ele_controlli`
295--
296
297CREATE TABLE `soraldo_ele_controlli` (
298 `id_cons` int(11) NOT NULL,
299 `id_sez` int(11) NOT NULL,
300 `tipo` varchar(10) NOT NULL,
301 `id` int(11) NOT NULL
302) ENGINE=MyISAM DEFAULT CHARSET=utf8;
303
304-- --------------------------------------------------------
305
306--
307-- Struttura della tabella `soraldo_ele_documenti`
308--
309
310CREATE TABLE `soraldo_ele_documenti` (
311 `id_doc` int(11) NOT NULL,
312 `descrizione` varchar(50) NOT NULL DEFAULT '',
313 `nomedoc` varchar(25) NOT NULL DEFAULT '',
314 `filedoc` blob NOT NULL
315) ENGINE=MyISAM DEFAULT CHARSET=utf8;
316
317-- --------------------------------------------------------
318
319--
320-- Struttura della tabella `soraldo_ele_fasce`
321--
322
323CREATE TABLE `soraldo_ele_fasce` (
324 `id_fascia` int(2) NOT NULL,
325 `abitanti` int(11) NOT NULL,
326 `seggi` int(4) NOT NULL,
327 `id_conf` int(11) DEFAULT 1
328) ENGINE=MyISAM DEFAULT CHARSET=utf8;
329
330--
331-- Dump dei dati per la tabella `soraldo_ele_fasce`
332--
333
334INSERT INTO `soraldo_ele_fasce` (`id_fascia`, `abitanti`, `seggi`, `id_conf`) VALUES
335(1, 3000, 12, 1),
336(2, 10000, 16, 1),
337(3, 15000, 20, 1),
338(4, 30000, 20, 1),
339(5, 100000, 30, 1),
340(6, 250000, 40, 1),
341(7, 500000, 46, 1),
342(8, 1000000, 50, 1),
343(9, 100000000, 60, 1),
344(1, 3000, 12, 2),
345(2, 10000, 16, 2),
346(3, 15000, 20, 2),
347(4, 30000, 20, 2),
348(5, 100000, 30, 2),
349(6, 250000, 40, 2),
350(7, 500000, 46, 2),
351(8, 1000000, 50, 2),
352(9, 100000000, 60, 2),
353(1, 3000, 9, 3),
354(2, 5000, 9, 3),
355(4, 15000, 16, 3),
356(3, 10000, 12, 3),
357(5, 30000, 16, 3),
358(6, 100000, 24, 3),
359(7, 250000, 32, 3),
360(8, 500000, 36, 3),
361(9, 1000000, 40, 3),
362(10, 100000000, 48, 3),
363(1, 3000, 6, 4),
364(2, 5000, 7, 4),
365(3, 10000, 12, 4),
366(4, 15000, 16, 4),
367(5, 30000, 16, 4),
368(6, 100000, 24, 4),
369(7, 250000, 32, 4),
370(8, 500000, 36, 4),
371(9, 1000000, 40, 4),
372(10, 100000000, 48, 4),
373(1, 3000, 9, 5),
374(2, 5000, 9, 5),
375(3, 10000, 12, 5),
376(4, 15000, 16, 5),
377(5, 30000, 16, 5),
378(6, 100000, 24, 5),
379(7, 250000, 32, 5),
380(8, 500000, 36, 5),
381(9, 1000000, 40, 5),
382(10, 100000000, 48, 5),
383(1, 3000, 6, 6),
384(2, 5000, 7, 6),
385(3, 10000, 10, 6),
386(4, 15000, 16, 6),
387(5, 30000, 16, 6),
388(6, 100000, 24, 6),
389(7, 250000, 32, 6),
390(8, 500000, 36, 6),
391(9, 1000000, 40, 6),
392(10, 100000000, 48, 6),
393(1, 3000, 10, 7),
394(2, 10000, 12, 7),
395(3, 15000, 16, 7),
396(4, 30000, 16, 7),
397(5, 100000, 24, 7),
398(6, 250000, 32, 7),
399(7, 500000, 36, 7),
400(8, 1000000, 40, 7),
401(9, 100000000, 48, 7);
402
403-- --------------------------------------------------------
404
405--
406-- Struttura della tabella `soraldo_ele_gruppo`
407--
408
409CREATE TABLE `soraldo_ele_gruppo` (
410 `id_cons` int(11) NOT NULL DEFAULT 0,
411 `id_gruppo` int(11) NOT NULL,
412 `num_gruppo` int(7) NOT NULL DEFAULT 0,
413 `descrizione` mediumtext DEFAULT NULL,
414 `simbolo` mediumtext DEFAULT NULL,
415 `stemma` blob DEFAULT NULL,
416 `id_circ` int(11) NOT NULL DEFAULT 0,
417 `num_circ` int(2) UNSIGNED NOT NULL DEFAULT 1,
418 `prognome` mediumtext DEFAULT NULL,
419 `programma` mediumblob DEFAULT NULL
420) ENGINE=MyISAM DEFAULT CHARSET=utf8;
421
422-- --------------------------------------------------------
423
424--
425-- Struttura della tabella `soraldo_ele_link`
426--
427
428CREATE TABLE `soraldo_ele_link` (
429 `id_cons` int(11) NOT NULL DEFAULT 0,
430 `mid` int(7) NOT NULL,
431 `title` varchar(150) NOT NULL DEFAULT '',
432 `preamble` mediumtext NOT NULL,
433 `content` mediumtext NOT NULL,
434 `editimage` varchar(100) NOT NULL DEFAULT ''
435) ENGINE=MyISAM DEFAULT CHARSET=utf8;
436
437-- --------------------------------------------------------
438
439--
440-- Struttura della tabella `soraldo_ele_lista`
441--
442
443CREATE TABLE `soraldo_ele_lista` (
444 `id_cons` int(11) NOT NULL DEFAULT 0,
445 `id_lista` int(11) NOT NULL,
446 `num_lista` int(7) NOT NULL DEFAULT 0,
447 `id_gruppo` int(11) NOT NULL DEFAULT 0,
448 `num_gruppo` int(2) UNSIGNED NOT NULL DEFAULT 0,
449 `id_circ` int(11) NOT NULL DEFAULT 0,
450 `num_circ` int(2) UNSIGNED NOT NULL DEFAULT 1,
451 `descrizione` text DEFAULT NULL,
452 `simbolo` mediumtext DEFAULT NULL,
453 `stemma` blob DEFAULT NULL
454) ENGINE=MyISAM DEFAULT CHARSET=utf8;
455
456-- --------------------------------------------------------
457
458--
459-- Struttura della tabella `soraldo_ele_log`
460--
461
462CREATE TABLE `soraldo_ele_log` (
463 `id_cons` int(11) DEFAULT NULL,
464 `id_sez` int(11) DEFAULT NULL,
465 `utente` varchar(20) DEFAULT NULL,
466 `data` date DEFAULT NULL,
467 `ora` time DEFAULT NULL,
468 `log_da` mediumtext DEFAULT NULL,
469 `log_a` mediumtext DEFAULT NULL,
470 `tabella` varchar(30) DEFAULT NULL
471) ENGINE=MyISAM DEFAULT CHARSET=utf8;
472
473-- --------------------------------------------------------
474
475--
476-- Struttura della tabella `soraldo_ele_modelli`
477--
478
479CREATE TABLE `soraldo_ele_modelli` (
480 `id_cons` int(11) NOT NULL DEFAULT 0,
481 `categoria` varchar(20) NOT NULL DEFAULT '',
482 `modello` blob NOT NULL
483) ENGINE=MyISAM DEFAULT CHARSET=utf8;
484
485-- --------------------------------------------------------
486
487--
488-- Struttura della tabella `soraldo_ele_numeri`
489--
490
491CREATE TABLE `soraldo_ele_numeri` (
492 `id_cons` int(11) NOT NULL DEFAULT 0,
493 `mid` int(7) NOT NULL,
494 `title` varchar(150) NOT NULL DEFAULT '',
495 `preamble` mediumtext NOT NULL,
496 `content` mediumtext NOT NULL,
497 `editimage` varchar(100) NOT NULL DEFAULT ''
498) ENGINE=MyISAM DEFAULT CHARSET=utf8;
499
500-- --------------------------------------------------------
501
502--
503-- Struttura della tabella `soraldo_ele_operatori`
504--
505
506CREATE TABLE `soraldo_ele_operatori` (
507 `id_cons` int(11) NOT NULL DEFAULT 0,
508 `id_sede` int(11) NOT NULL DEFAULT 0,
509 `id_comune` int(11) NOT NULL DEFAULT 0,
510 `permessi` int(3) DEFAULT NULL,
511 `aid` varchar(25) NOT NULL DEFAULT '',
512 `id_circ` int(11) NOT NULL DEFAULT 0,
513 `id_sez` int(11) NOT NULL DEFAULT 0
514) ENGINE=MyISAM DEFAULT CHARSET=utf8;
515
516-- --------------------------------------------------------
517
518--
519-- Struttura della tabella `soraldo_ele_province`
520--
521
522CREATE TABLE `soraldo_ele_province` (
523 `id` tinyint(11) NOT NULL DEFAULT 0,
524 `descrizione` varchar(30) NOT NULL DEFAULT ''
525) ENGINE=MyISAM DEFAULT CHARSET=utf8;
526
527-- --------------------------------------------------------
528
529--
530-- Struttura della tabella `soraldo_ele_regioni`
531--
532
533CREATE TABLE `soraldo_ele_regioni` (
534 `id` int(11) NOT NULL DEFAULT 0,
535 `descrizione` varchar(25) NOT NULL DEFAULT ''
536) ENGINE=MyISAM DEFAULT CHARSET=utf8;
537
538-- --------------------------------------------------------
539
540--
541-- Struttura della tabella `soraldo_ele_rilaff`
542--
543
544CREATE TABLE `soraldo_ele_rilaff` (
545 `id_cons_gen` int(11) NOT NULL DEFAULT 0,
546 `orario` time NOT NULL DEFAULT '00:00:00',
547 `data` date NOT NULL DEFAULT '0000-00-00'
548) ENGINE=MyISAM DEFAULT CHARSET=utf8;
549
550-- --------------------------------------------------------
551
552--
553-- Struttura della tabella `soraldo_ele_sede`
554--
555
556CREATE TABLE `soraldo_ele_sede` (
557 `id_cons` int(11) NOT NULL DEFAULT 0,
558 `id_sede` int(11) NOT NULL,
559 `id_circ` int(11) NOT NULL DEFAULT 0,
560 `indirizzo` varchar(60) DEFAULT NULL,
561 `telefono1` varchar(12) DEFAULT NULL,
562 `telefono2` varchar(12) DEFAULT NULL,
563 `fax` varchar(12) DEFAULT NULL,
564 `responsabile` varchar(60) DEFAULT NULL,
565 `mappa` mediumblob NOT NULL,
566 `filemappa` varchar(100) NOT NULL DEFAULT ''
567) ENGINE=MyISAM DEFAULT CHARSET=utf8;
568
569-- --------------------------------------------------------
570
571--
572-- Struttura della tabella `soraldo_ele_servizi`
573--
574
575CREATE TABLE `soraldo_ele_servizi` (
576 `id_cons` int(11) NOT NULL DEFAULT 0,
577 `mid` int(7) NOT NULL,
578 `title` varchar(150) NOT NULL DEFAULT '',
579 `preamble` mediumtext NOT NULL,
580 `content` mediumtext NOT NULL,
581 `editimage` varchar(100) NOT NULL DEFAULT ''
582) ENGINE=MyISAM DEFAULT CHARSET=utf8;
583
584-- --------------------------------------------------------
585
586--
587-- Struttura della tabella `soraldo_ele_sezioni`
588--
589
590CREATE TABLE `soraldo_ele_sezioni` (
591 `id_cons` int(11) NOT NULL DEFAULT 0,
592 `id_sez` int(11) NOT NULL,
593 `id_sede` int(11) NOT NULL DEFAULT 0,
594 `num_sez` int(7) NOT NULL DEFAULT 0,
595 `maschi` int(4) DEFAULT NULL,
596 `femmine` int(4) DEFAULT NULL,
597 `validi` int(7) NOT NULL DEFAULT 0,
598 `nulli` int(7) NOT NULL DEFAULT 0,
599 `bianchi` int(7) NOT NULL DEFAULT 0,
600 `contestati` int(7) NOT NULL DEFAULT 0,
601 `solo_gruppo` int(7) NOT NULL DEFAULT 0,
602 `autorizzati_m` int(4) NOT NULL DEFAULT 0,
603 `autorizzati_f` int(4) NOT NULL DEFAULT 0,
604 `voti_nulli` int(7) NOT NULL DEFAULT 0,
605 `validi_lista` int(7) NOT NULL DEFAULT 0,
606 `contestati_lista` int(7) NOT NULL DEFAULT 0,
607 `voti_nulli_lista` int(7) NOT NULL DEFAULT 0,
608 `solo_lista` int(7) NOT NULL DEFAULT 0,
609 `colore` varchar(50) DEFAULT NULL
610) ENGINE=MyISAM DEFAULT CHARSET=utf8;
611
612-- --------------------------------------------------------
613
614--
615-- Struttura della tabella `soraldo_ele_temi`
616--
617
618CREATE TABLE `soraldo_ele_temi` (
619 `id` int(11) NOT NULL,
620 `tema` varchar(20) NOT NULL DEFAULT ''
621) ENGINE=MyISAM DEFAULT CHARSET=utf8;
622
623-- --------------------------------------------------------
624
625--
626-- Struttura della tabella `soraldo_ele_tipo`
627--
628
629CREATE TABLE `soraldo_ele_tipo` (
630 `tipo_cons` int(11) NOT NULL DEFAULT 0,
631 `descrizione` varchar(30) DEFAULT NULL,
632 `lingua` varchar(2) NOT NULL DEFAULT '0',
633 `genere` tinyint(4) NOT NULL DEFAULT 0,
634 `voto_g` enum('0','1') NOT NULL DEFAULT '0',
635 `voto_l` enum('0','1') NOT NULL DEFAULT '0',
636 `voto_c` enum('0','1') NOT NULL DEFAULT '0',
637 `circo` enum('0','1') NOT NULL DEFAULT '0'
638) ENGINE=MyISAM DEFAULT CHARSET=utf8;
639
640--
641-- Dump dei dati per la tabella `soraldo_ele_tipo`
642--
643
644INSERT INTO `soraldo_ele_tipo` (`tipo_cons`, `descrizione`, `lingua`, `genere`, `voto_g`, `voto_l`, `voto_c`, `circo`) VALUES
645(1, 'PROVINCIALI', 'it', 3, '0', '0', '0', '0'),
646(2, 'REFERENDUM', 'it', 0, '0', '0', '0', '0'),
647(3, 'COMUNALI', 'it', 5, '0', '0', '0', '0'),
648(4, 'CIRCOSCRIZIONALI', 'it', 5, '0', '0', '0', '1'),
649(5, 'BALLOTTAGGIO COMUNALI', 'it', 1, '0', '0', '0', '0'),
650(6, 'CAMERA', 'it', 2, '0', '0', '0', '0'),
651(7, 'SENATO', 'it', 2, '0', '0', '0', '0'),
652(8, 'EUROPEE', 'it', 4, '0', '0', '0', '0'),
653(9, 'REGIONALI', 'it', 5, '0', '0', '0', '0'),
654(10, 'SENATO CON GRUPPI', 'it', 5, '1', '0', '1', '0'),
655(11, 'CAMERA CON GRUPPI', 'it', 5, '1', '0', '1', '0'),
656(12, 'PROVINCIALI CON COLLEGI', 'it', 3, '0', '0', '0', '1'),
657(13, 'BALLOTTAGGIO PROVINCIALI', 'it', 1, '0', '0', '0', '0'),
658(14, 'EUROPEE CON COLLEGI', 'it', 4, '0', '0', '0', '1'),
659(15, 'CAMERA CON GRUPPI E COLLEGI', 'it', 5, '1', '0', '1', '1'),
660(16, 'SENATO CON GRUPPI E COLLEGI', 'it', 5, '1', '0', '1', '1'),
661(17, 'REGIONALI CON COLLEGI', 'it', 5, '0', '0', '0', '1'),
662(18, 'CAMERA - Rosatellum 2.0', 'it', 5, '0', '0', '1', '0'),
663(19, 'SENATO - Rosatellum 2.0', 'it', 5, '0', '0', '1', '0');
664
665-- --------------------------------------------------------
666
667--
668-- Struttura della tabella `soraldo_ele_voti_candidati`
669--
670
671CREATE TABLE `soraldo_ele_voti_candidati` (
672 `id_cons` int(11) NOT NULL DEFAULT 0,
673 `id_cand` int(11) NOT NULL DEFAULT 0,
674 `id_sez` int(11) NOT NULL DEFAULT 0,
675 `num_cand` int(2) UNSIGNED NOT NULL,
676 `voti` int(7) NOT NULL DEFAULT 0
677) ENGINE=MyISAM DEFAULT CHARSET=utf8;
678
679-- --------------------------------------------------------
680
681--
682-- Struttura della tabella `soraldo_ele_voti_gruppo`
683--
684
685CREATE TABLE `soraldo_ele_voti_gruppo` (
686 `id_cons` int(11) NOT NULL DEFAULT 0,
687 `id_gruppo` int(11) NOT NULL DEFAULT 0,
688 `id_sez` int(11) NOT NULL DEFAULT 0,
689 `num_gruppo` int(2) UNSIGNED NOT NULL,
690 `voti` int(7) NOT NULL DEFAULT 0,
691 `solo_gruppo` int(7) NOT NULL DEFAULT 0
692) ENGINE=MyISAM DEFAULT CHARSET=utf8;
693
694-- --------------------------------------------------------
695
696--
697-- Struttura della tabella `soraldo_ele_voti_lista`
698--
699
700CREATE TABLE `soraldo_ele_voti_lista` (
701 `id_cons` int(11) NOT NULL DEFAULT 0,
702 `id_lista` int(11) NOT NULL DEFAULT 0,
703 `id_sez` int(11) NOT NULL DEFAULT 0,
704 `num_lista` int(2) UNSIGNED DEFAULT 0,
705 `voti` int(7) NOT NULL DEFAULT 0,
706 `nulli_lista` int(7) NOT NULL DEFAULT 0,
707 `solo_lista` int(7) DEFAULT 0
708) ENGINE=MyISAM DEFAULT CHARSET=utf8;
709
710-- --------------------------------------------------------
711
712--
713-- Struttura della tabella `soraldo_ele_voti_parziale`
714--
715
716CREATE TABLE `soraldo_ele_voti_parziale` (
717 `id_cons` int(11) NOT NULL DEFAULT 0,
718 `id_sez` int(11) NOT NULL DEFAULT 0,
719 `id_parz` int(11) NOT NULL,
720 `orario` time NOT NULL DEFAULT '00:00:00',
721 `data` date NOT NULL DEFAULT '0000-00-00',
722 `voti_uomini` int(7) NOT NULL DEFAULT 0,
723 `voti_donne` int(7) NOT NULL DEFAULT 0,
724 `voti_complessivi` int(7) NOT NULL DEFAULT 0,
725 `id_gruppo` int(11) NOT NULL DEFAULT 0
726) ENGINE=MyISAM DEFAULT CHARSET=utf8;
727
728-- --------------------------------------------------------
729
730--
731-- Struttura della tabella `soraldo_ele_voti_ref`
732--
733
734CREATE TABLE `soraldo_ele_voti_ref` (
735 `id_cons` int(11) NOT NULL DEFAULT 0,
736 `id_gruppo` int(11) NOT NULL DEFAULT 0,
737 `id_sez` int(11) NOT NULL DEFAULT 0,
738 `num_gruppo` int(2) UNSIGNED NOT NULL,
739 `si` int(7) DEFAULT 0,
740 `no` int(7) DEFAULT 0,
741 `validi` int(7) DEFAULT 0,
742 `nulli` int(7) DEFAULT 0,
743 `bianchi` int(7) DEFAULT 0,
744 `contestati` int(7) DEFAULT 0
745) ENGINE=MyISAM DEFAULT CHARSET=utf8;
746
747-- --------------------------------------------------------
748
749--
750-- Struttura della tabella `soraldo_ele_widget`
751--
752
753CREATE TABLE `soraldo_ele_widget` (
754 `id` int(10) NOT NULL,
755 `nome_file` varchar(255) NOT NULL DEFAULT '',
756 `titolo` varchar(255) NOT NULL DEFAULT '',
757 `pos_or` int(1) NOT NULL DEFAULT 1,
758 `pos_ver` int(3) NOT NULL DEFAULT 0,
759 `attivo` int(1) NOT NULL DEFAULT 0
760) ENGINE=MyISAM DEFAULT CHARSET=utf8;
761
762--
763-- Dump dei dati per la tabella `soraldo_ele_widget`
764--
765
766INSERT INTO `soraldo_ele_widget` (`id`, `nome_file`, `titolo`, `pos_or`, `pos_ver`, `attivo`) VALUES
767(1, '00_affluenze.php', '00_affluenze.php', 1, 0, 0),
768(2, '01_votanti.php', '01_votanti.php', 1, 0, 0),
769(3, '02_risultati.php', '02_risultati.php', 1, 0, 0),
770(4, '04_sezioni.php', '04_sezioni.php', 1, 0, 0),
771(5, 'privacy.php', 'privacy.php', 1, 0, 0),
772(6, 'bloccocand.php', 'bloccocand.php', 1, 0, 0),
773(7, 'bloccogen.php', 'bloccogen.php', 1, 0, 0),
774(8, 'bloccolink.php', 'bloccolink.php', 1, 0, 0),
775(9, 'bloccoref.php', 'bloccoref.php', 1, 0, 0),
776(10, 'gom_affluenze.php', 'gom_affluenze.php', 1, 0, 0),
777(11, 'pie_affluenze.php', 'pie_affluenze.php', 1, 0, 0),
778(12, 'social.php', 'social.php', 1, 0, 0),
779(13, 'cerca_candidato.php', 'cerca_candidato.php', 1, 0, 0),
780(14, 'cookie_law.php', 'cookie_law.php', 1, 0, 0);
781
782--
783-- Indici per le tabelle scaricate
784--
785
786--
787-- Indici per le tabelle `soraldo_access`
788--
789ALTER TABLE `soraldo_access`
790 ADD PRIMARY KEY (`access_id`);
791
792--
793-- Indici per le tabelle `soraldo_authors`
794--
795ALTER TABLE `soraldo_authors`
796 ADD PRIMARY KEY (`aid`,`id_comune`),
797 ADD KEY `aid` (`aid`);
798
799--
800-- Indici per le tabelle `soraldo_doc_cons`
801--
802ALTER TABLE `soraldo_doc_cons`
803 ADD KEY `id_cons` (`id_cons`,`id_doc`);
804
805--
806-- Indici per le tabelle `soraldo_ele_candidati`
807--
808ALTER TABLE `soraldo_ele_candidati`
809 ADD PRIMARY KEY (`id_cand`) USING BTREE,
810 ADD KEY `id_lista` (`id_lista`),
811 ADD KEY `id_cons` (`id_cons`,`id_lista`) USING BTREE;
812
813--
814-- Indici per le tabelle `soraldo_ele_circoscrizione`
815--
816ALTER TABLE `soraldo_ele_circoscrizione`
817 ADD UNIQUE KEY `id_circ` (`id_circ`),
818 ADD UNIQUE KEY `id_cons` (`id_cons`,`num_circ`);
819
820--
821-- Indici per le tabelle `soraldo_ele_collegi`
822--
823ALTER TABLE `soraldo_ele_collegi`
824 ADD PRIMARY KEY (`id_collegio`),
825 ADD KEY `id_cons_gen` (`id_cons_gen`);
826
827--
828-- Indici per le tabelle `soraldo_ele_come`
829--
830ALTER TABLE `soraldo_ele_come`
831 ADD UNIQUE KEY `mid` (`mid`);
832
833--
834-- Indici per le tabelle `soraldo_ele_comuni`
835--
836ALTER TABLE `soraldo_ele_comuni`
837 ADD PRIMARY KEY (`id_comune`),
838 ADD KEY `access_id` (`descrizione`);
839
840--
841-- Indici per le tabelle `soraldo_ele_comu_collegi`
842--
843ALTER TABLE `soraldo_ele_comu_collegi`
844 ADD PRIMARY KEY (`id_cons_gen`,`id_comune`),
845 ADD KEY `id_cons` (`id_cons`),
846 ADD KEY `id_collegio` (`id_collegio`);
847
848--
849-- Indici per le tabelle `soraldo_ele_conf`
850--
851ALTER TABLE `soraldo_ele_conf`
852 ADD PRIMARY KEY (`id_conf`);
853
854--
855-- Indici per le tabelle `soraldo_ele_consultazione`
856--
857ALTER TABLE `soraldo_ele_consultazione`
858 ADD PRIMARY KEY (`id_cons_gen`),
859 ADD UNIQUE KEY `descrizione` (`descrizione`(100));
860
861--
862-- Indici per le tabelle `soraldo_ele_cons_comune`
863--
864ALTER TABLE `soraldo_ele_cons_comune`
865 ADD PRIMARY KEY (`id_cons`),
866 ADD UNIQUE KEY `comune` (`id_comune`,`id_cons_gen`);
867
868--
869-- Indici per le tabelle `soraldo_ele_controlli`
870--
871ALTER TABLE `soraldo_ele_controlli`
872 ADD KEY `sezione` (`id_sez`);
873
874--
875-- Indici per le tabelle `soraldo_ele_documenti`
876--
877ALTER TABLE `soraldo_ele_documenti`
878 ADD PRIMARY KEY (`id_doc`),
879 ADD KEY `descrizione` (`descrizione`);
880
881--
882-- Indici per le tabelle `soraldo_ele_fasce`
883--
884ALTER TABLE `soraldo_ele_fasce`
885 ADD KEY `id_fascia` (`id_fascia`);
886
887--
888-- Indici per le tabelle `soraldo_ele_gruppo`
889--
890ALTER TABLE `soraldo_ele_gruppo`
891 ADD PRIMARY KEY (`id_gruppo`) USING BTREE,
892 ADD KEY `id_cons` (`id_cons`,`id_circ`) USING BTREE;
893
894--
895-- Indici per le tabelle `soraldo_ele_link`
896--
897ALTER TABLE `soraldo_ele_link`
898 ADD PRIMARY KEY (`mid`);
899
900--
901-- Indici per le tabelle `soraldo_ele_lista`
902--
903ALTER TABLE `soraldo_ele_lista`
904 ADD PRIMARY KEY (`id_lista`) USING BTREE,
905 ADD KEY `id_gruppo` (`id_gruppo`),
906 ADD KEY `id_cons` (`id_cons`,`id_gruppo`) USING BTREE;
907
908--
909-- Indici per le tabelle `soraldo_ele_modelli`
910--
911ALTER TABLE `soraldo_ele_modelli`
912 ADD KEY `access_id` (`id_cons`);
913
914--
915-- Indici per le tabelle `soraldo_ele_numeri`
916--
917ALTER TABLE `soraldo_ele_numeri`
918 ADD PRIMARY KEY (`mid`),
919 ADD KEY `id_cons` (`id_cons`);
920
921--
922-- Indici per le tabelle `soraldo_ele_operatori`
923--
924ALTER TABLE `soraldo_ele_operatori`
925 ADD UNIQUE KEY `id_cons_aid` (`id_cons`,`aid`,`id_comune`),
926 ADD KEY `id_circ` (`id_comune`),
927 ADD KEY `id_sede` (`id_sede`);
928
929--
930-- Indici per le tabelle `soraldo_ele_regioni`
931--
932ALTER TABLE `soraldo_ele_regioni`
933 ADD PRIMARY KEY (`id`),
934 ADD KEY `descrizione` (`descrizione`);
935
936--
937-- Indici per le tabelle `soraldo_ele_rilaff`
938--
939ALTER TABLE `soraldo_ele_rilaff`
940 ADD KEY `id_cons_gen` (`id_cons_gen`);
941
942--
943-- Indici per le tabelle `soraldo_ele_sede`
944--
945ALTER TABLE `soraldo_ele_sede`
946 ADD PRIMARY KEY (`id_sede`),
947 ADD KEY `id_cons` (`id_cons`),
948 ADD KEY `id_circ` (`id_circ`);
949
950--
951-- Indici per le tabelle `soraldo_ele_servizi`
952--
953ALTER TABLE `soraldo_ele_servizi`
954 ADD PRIMARY KEY (`mid`),
955 ADD KEY `id_cons` (`id_cons`);
956
957--
958-- Indici per le tabelle `soraldo_ele_sezioni`
959--
960ALTER TABLE `soraldo_ele_sezioni`
961 ADD UNIQUE KEY `id_sezi` (`id_sez`),
962 ADD KEY `id_cons` (`id_cons`),
963 ADD KEY `id_sede` (`id_sede`);
964
965--
966-- Indici per le tabelle `soraldo_ele_temi`
967--
968ALTER TABLE `soraldo_ele_temi`
969 ADD PRIMARY KEY (`id`);
970
971--
972-- Indici per le tabelle `soraldo_ele_tipo`
973--
974ALTER TABLE `soraldo_ele_tipo`
975 ADD PRIMARY KEY (`tipo_cons`);
976
977--
978-- Indici per le tabelle `soraldo_ele_voti_candidati`
979--
980ALTER TABLE `soraldo_ele_voti_candidati`
981 ADD KEY `id_sez` (`id_sez`),
982 ADD KEY `id_cand` (`id_cand`),
983 ADD KEY `id_cons` (`id_cons`,`id_sez`,`id_cand`) USING BTREE;
984
985--
986-- Indici per le tabelle `soraldo_ele_voti_gruppo`
987--
988ALTER TABLE `soraldo_ele_voti_gruppo`
989 ADD KEY `id_gruppo` (`id_gruppo`),
990 ADD KEY `id_sez` (`id_sez`),
991 ADD KEY `id_cons` (`id_cons`,`id_sez`,`id_gruppo`) USING BTREE;
992
993--
994-- Indici per le tabelle `soraldo_ele_voti_lista`
995--
996ALTER TABLE `soraldo_ele_voti_lista`
997 ADD KEY `id_lista` (`id_lista`),
998 ADD KEY `id_sez` (`id_sez`),
999 ADD KEY `id_cons` (`id_cons`,`id_sez`,`id_lista`) USING BTREE;
1000
1001--
1002-- Indici per le tabelle `soraldo_ele_voti_parziale`
1003--
1004ALTER TABLE `soraldo_ele_voti_parziale`
1005 ADD PRIMARY KEY (`id_parz`),
1006 ADD KEY `id_cons` (`id_cons`),
1007 ADD KEY `id_sez` (`id_sez`),
1008 ADD KEY `id_gruppo` (`id_gruppo`);
1009
1010--
1011-- Indici per le tabelle `soraldo_ele_voti_ref`
1012--
1013ALTER TABLE `soraldo_ele_voti_ref`
1014 ADD KEY `id_gruppo` (`id_gruppo`),
1015 ADD KEY `id_sez` (`id_sez`),
1016 ADD KEY `id_cons` (`id_cons`,`id_gruppo`) USING BTREE;
1017
1018--
1019-- Indici per le tabelle `soraldo_ele_widget`
1020--
1021ALTER TABLE `soraldo_ele_widget`
1022 ADD PRIMARY KEY (`id`);
1023
1024--
1025-- AUTO_INCREMENT per le tabelle scaricate
1026--
1027
1028--
1029-- AUTO_INCREMENT per la tabella `soraldo_ele_candidati`
1030--
1031ALTER TABLE `soraldo_ele_candidati`
1032 MODIFY `id_cand` int(11) NOT NULL AUTO_INCREMENT;
1033
1034--
1035-- AUTO_INCREMENT per la tabella `soraldo_ele_circoscrizione`
1036--
1037ALTER TABLE `soraldo_ele_circoscrizione`
1038 MODIFY `id_circ` int(11) NOT NULL AUTO_INCREMENT;
1039
1040--
1041-- AUTO_INCREMENT per la tabella `soraldo_ele_collegi`
1042--
1043ALTER TABLE `soraldo_ele_collegi`
1044 MODIFY `id_collegio` int(11) NOT NULL AUTO_INCREMENT;
1045
1046--
1047-- AUTO_INCREMENT per la tabella `soraldo_ele_come`
1048--
1049ALTER TABLE `soraldo_ele_come`
1050 MODIFY `mid` int(7) NOT NULL AUTO_INCREMENT;
1051
1052--
1053-- AUTO_INCREMENT per la tabella `soraldo_ele_conf`
1054--
1055ALTER TABLE `soraldo_ele_conf`
1056 MODIFY `id_conf` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
1057
1058--
1059-- AUTO_INCREMENT per la tabella `soraldo_ele_consultazione`
1060--
1061ALTER TABLE `soraldo_ele_consultazione`
1062 MODIFY `id_cons_gen` int(11) NOT NULL AUTO_INCREMENT;
1063
1064--
1065-- AUTO_INCREMENT per la tabella `soraldo_ele_cons_comune`
1066--
1067ALTER TABLE `soraldo_ele_cons_comune`
1068 MODIFY `id_cons` int(11) NOT NULL AUTO_INCREMENT;
1069
1070--
1071-- AUTO_INCREMENT per la tabella `soraldo_ele_documenti`
1072--
1073ALTER TABLE `soraldo_ele_documenti`
1074 MODIFY `id_doc` int(11) NOT NULL AUTO_INCREMENT;
1075
1076--
1077-- AUTO_INCREMENT per la tabella `soraldo_ele_gruppo`
1078--
1079ALTER TABLE `soraldo_ele_gruppo`
1080 MODIFY `id_gruppo` int(11) NOT NULL AUTO_INCREMENT;
1081
1082--
1083-- AUTO_INCREMENT per la tabella `soraldo_ele_link`
1084--
1085ALTER TABLE `soraldo_ele_link`
1086 MODIFY `mid` int(7) NOT NULL AUTO_INCREMENT;
1087
1088--
1089-- AUTO_INCREMENT per la tabella `soraldo_ele_lista`
1090--
1091ALTER TABLE `soraldo_ele_lista`
1092 MODIFY `id_lista` int(11) NOT NULL AUTO_INCREMENT;
1093
1094--
1095-- AUTO_INCREMENT per la tabella `soraldo_ele_numeri`
1096--
1097ALTER TABLE `soraldo_ele_numeri`
1098 MODIFY `mid` int(7) NOT NULL AUTO_INCREMENT;
1099
1100--
1101-- AUTO_INCREMENT per la tabella `soraldo_ele_sede`
1102--
1103ALTER TABLE `soraldo_ele_sede`
1104 MODIFY `id_sede` int(11) NOT NULL AUTO_INCREMENT;
1105
1106--
1107-- AUTO_INCREMENT per la tabella `soraldo_ele_servizi`
1108--
1109ALTER TABLE `soraldo_ele_servizi`
1110 MODIFY `mid` int(7) NOT NULL AUTO_INCREMENT;
1111
1112--
1113-- AUTO_INCREMENT per la tabella `soraldo_ele_sezioni`
1114--
1115ALTER TABLE `soraldo_ele_sezioni`
1116 MODIFY `id_sez` int(11) NOT NULL AUTO_INCREMENT;
1117
1118--
1119-- AUTO_INCREMENT per la tabella `soraldo_ele_temi`
1120--
1121ALTER TABLE `soraldo_ele_temi`
1122 MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
1123
1124--
1125-- AUTO_INCREMENT per la tabella `soraldo_ele_voti_parziale`
1126--
1127ALTER TABLE `soraldo_ele_voti_parziale`
1128 MODIFY `id_parz` int(11) NOT NULL AUTO_INCREMENT;
1129
1130--
1131-- AUTO_INCREMENT per la tabella `soraldo_ele_widget`
1132--
1133ALTER TABLE `soraldo_ele_widget`
1134 MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
1135COMMIT;
1136
1137/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1138/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1139/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Note: See TracBrowser for help on using the repository browser.