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

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

admin: correzioni e aggiunta funzionalità per inserimento da cellulare, adeguata la funzione di aggiornamento del db per compatibilità con php7 e php5

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