Changeset 223 for trunk


Ignore:
Timestamp:
Jun 2, 2014, 7:57:18 PM (10 years ago)
Author:
luciano
Message:

Admin: aggiornati gli update sql
il file sql/update_2014.php vi aiuta ad aggiornare tutti gli ultimi sql del 2014

Location:
trunk/sql
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/README.txt

    r189 r223  
    44http://www.eleonline.it
    55
     6Prima di aggiornare il database ricordatevi di farne una copia
     7Se non volete aggiornare a mano ,il file update_2014.php vi aiuta ad aggirnare tutti gli ultimi sql del 2014
     8Per lanciarlo sql/update_2014.php
     9
     10
     11
    612
    713=====================
    814Sql e Update dababase
    915=====================
     16
     171 giugno 2014
     18---------------
     19Creazione tabella soraldo_ele_controllosez per il controllo delle sezioni
     20file: aggiornamento-2.0_2014-05.01.sql
     21
     222 maggio 2014
     23-----------------
     24Modificata la struttura e i tipi i consultazione soraldo_ele_tipo
     25file: aggiornamento-2.0_2014-05.02.sql
     26
     2722 aprile 2014
     28-----------------
     29Modificata la struttura di soraldo_ele_conf e soraldo_ele_fasce
     30file: aggiornamento-2.0_2014-04.022.sql
     31
     32
     33 
     34
     35
     3623 marzo 2014
     37--------------
     38Modificata la struttura di soraldo_ele_conf e inseriti i dati relativi alle norme do modifica delle consulatzioni elettorali
     39file: aggiornamento-2.0_2014-03.02.sql
     40(aggiornamento sostituito dal successivo del 22 aprile)
    1041
    114202 marzo 2014
  • trunk/sql/aggiornamento-2.0_2014-03-23.sql

    r194 r223  
    1 
    2 --
    3 -- Database: `eleonline`
    4 --
    5 
    6 -- --------------------------------------------------------
    7 
    8 --
    9 -- Struttura della tabella `soraldo_ele_conf`
    10 --
    11 
    121DROP TABLE IF EXISTS `soraldo_ele_conf`;
    132CREATE TABLE `soraldo_ele_conf` (
     
    3322) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
    3423
    35 --
    36 -- Dump dei dati per la tabella `soraldo_ele_conf`
    37 --
    38 
    3924INSERT 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
    4025(1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
  • trunk/sql/aggiornamento-2.0_2014-04-22.sql

    r204 r223  
    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
    91
    102DROP TABLE `soraldo_ele_conf`;
     
    3123) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
    3224
    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;
    4125INSERT 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
    4226(1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6),
     
    4731(6, 'Legge Italiana 267/2000 con riduzione 2012', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7),
    4832(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 */;
    5133
    5234
    53 --
    54 -- Database: `eleonline`
    55 --
    56 
    57 -- --------------------------------------------------------
    58 
    59 --
    60 -- Struttura della tabella `soraldo_ele_fasce`
    61 --
    6235DROP TABLE `soraldo_ele_fasce`;
    6336
     
    7043) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    7144
    72 --
    73 -- Dump dei dati per la tabella `soraldo_ele_fasce`
    74 --
    7545
    7646INSERT INTO `soraldo_ele_fasce` (`id_fascia`, `abitanti`, `seggi`, `id_conf`) VALUES
  • trunk/sql/aggiornamento-2.0_2014-05-02.sql

    r205 r223  
    1212) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    1313
    14 --
    15 -- Dumping data for table `soraldo_ele_tipo`
    16 --
    1714
    1815
    19 /*!40000 ALTER TABLE `soraldo_ele_tipo` DISABLE KEYS */;
    20 LOCK TABLES `soraldo_ele_tipo` WRITE;
    2116INSERT 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');
    22 UNLOCK TABLES;
    23 /*!40000 ALTER TABLE `soraldo_ele_tipo` ENABLE KEYS */;
     17
  • trunk/sql/widget.sql

    r155 r223  
    1 -- MySQL dump 10.11
    2 --
    3 -- Host: localhost    Database: eleonline
    4 -- ------------------------------------------------------
    5 -- Server version       5.0.45-log
    6 
    7 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    8 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    9 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    10 /*!40101 SET NAMES utf8 */;
    11 /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
    12 /*!40103 SET TIME_ZONE='+00:00' */;
    13 /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
    14 /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
    15 /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    16 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
    17 
    18 --
    19 -- Table structure for table `soraldo_ele_widget`
    20 --
    21 
    221DROP TABLE IF EXISTS `soraldo_ele_widget`;
    232CREATE TABLE `soraldo_ele_widget` (
     
    3110) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
    3211
    33 --
    34 -- Dumping data for table `soraldo_ele_widget`
    35 --
    3612
    37 LOCK TABLES `soraldo_ele_widget` WRITE;
    38 /*!40000 ALTER TABLE `soraldo_ele_widget` DISABLE KEYS */;
    3913INSERT INTO `soraldo_ele_widget` VALUES (1,'00_affluenze.php','00_affluenze.php',0,0,1),(2,'01_votanti.php','01_votanti.php',1,0,0),(3,'02_risultati.php','02_risultati.php',0,0,1),(4,'04_sezioni.php','04_sezioni.php',1,0,0),(5,'bar_affluenze.php','bar_affluenze.php',1,0,0),(6,'bloccocand.php','bloccocand.php',1,0,0),(7,'bloccogen.php','bloccogen.php',1,0,0),(8,'bloccolink.php','bloccolink.php',1,0,0),(9,'bloccoref.php','bloccoref.php',1,0,0),(10,'gom_affluenze.php','gom_affluenze.php',0,0,1),(11,'off_Votanti.php','off_Votanti.php',0,0,1),(12,'pie_affluenze.php','pie_affluenze.php',1,0,0);
    40 /*!40000 ALTER TABLE `soraldo_ele_widget` ENABLE KEYS */;
    41 UNLOCK TABLES;
    42 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
    4314
    44 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
    45 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
    46 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
    47 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
    48 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
    49 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    50 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
    51 
    52 -- Dump completed on 2010-03-22 13:20:41
Note: See TracChangeset for help on using the changeset viewer.