Questo sito utilizza cookie anche di terze parti. Per avere maggiori informazioni e per negare il tuo consenso al l'utilizzo dei cookie clicca qui. Se prosegui la navigazione acconsenti all'utilizzo dei cookie.OK
  • salta al contenuto

Documentazione openDCN

Strumenti Utente

  • Entra

Strumenti Sito

  • Ultime modifiche
  • Informativa sui cookie
Ti trovi qui: start » l_agenda

l_agenda

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Both sides previous revision Previous revision
Next revision
Previous revision
l_agenda [02/08/2010 17:13]
l_agenda [05/06/2013 17:08] (versione attuale)
Linea 8: Linea 8:
 \\ \\
 \\ \\
-  ​CREATE TABLE  `agendas` ( +**AGENDA** 
-   ​`id` int(10) unsigned NOT NULL auto_increment,​ +\\ 
-   ​`title` varchar(255) NOT NULL, +  ​CREATE TABLE IF NOT EXISTS ​`agendas` ( 
-   ​`description` text NOT NULL, +  `id` int(10) unsigned NOT NULL auto_increment,​ 
-   ​`start` datetime NOT NULL, +  `title` varchar(255) NOT NULL, 
-   ​`end` datetime NOT NULL, +  `description` text NOT NULL, 
-   ​`status` tinyint(3) unsigned NOT NULL, +  `start` datetime NOT NULL, 
-   ​`location_id` int(10) unsigned NOT NULL,+  `end` datetime NOT NULL, 
 +  ​`real_start` datetime NOT NULL, 
 +  `real_end` datetime NOT NULL, 
 +  ​`status` tinyint(3) unsigned NOT NULL, 
 +  `location_id` int(10) unsigned ​NOT NULL, 
 +  `introduction_url` varchar(255) ​NOT NULL,
   PRIMARY KEY  (`id`)   PRIMARY KEY  (`id`)
-  ) ENGINE=MyISAM DEFAULT CHARSET=latin1;​ +  ) ENGINE=MyISAM ​ DEFAULT CHARSET=latin1;​ 
-   +\\ 
-  ​ALTER TABLE `agendas` ADD COLUMN ​`introduction_url` VARCHAR(255) NOT NULL AFTER `location_id`; +**AGENDA TOOLS** 
-  ​ALTER TABLE `agendas` ADD COLUMN ​`real_start` datetime ​ NOT NULL AFTER `end`, +\\ 
-  ​ADD COLUMN ​`real_end` datetime ​ NOT NULL AFTER `real_start`;+  ​CREATE ​TABLE IF NOT EXISTS ​`agenda_tools` ( 
 +  ​`agenda_id` int(10) unsigned NOT NULL, 
 +  `tool` varchar(255) NOT NULL, 
 +  ​`tool_id` int(10) unsigned NOT NULL, 
 +  `title` varchar(255) NOT NULL, 
 +  ​`description` text NOT NULL, 
 +  `dependences` text NOT NULL, 
 +  `start` datetime NOT NULL, 
 +  ​`end` datetime NOT NULL, 
 +  `real_start` datetime NOT NULL, 
 +  `real_end` datetime ​NOT NULL, 
 +  `status` tinyint(3) unsigned ​NOT NULL, 
 +  ​`id` int(10) unsigned NOT NULL auto_increment,​ 
 +  PRIMARY KEY  (`id`) 
 +  ) ENGINE=MyISAM ​ DEFAULT CHARSET=latin1; 
 +\\ 
 +**GEOMAP** vedi [[il modello generale | modello generale]] 
 +\\
 \\ \\
-  CREATE TABLE `agenda_tools` ( 
-   ​`agenda_id` int(10) unsigned NOT NULL, 
-   ​`tool` varchar(255) NOT NULL, 
-   ​`tool_id` int(10) unsigned NOT NULL, 
-   ​`dependences` text NOT NULL 
-  ) ENGINE=MyISAM DEFAULT CHARSET=latin1;​ 
-  ALTER TABLE `agenda_tools` ​ 
-  ADD COLUMN `title` VARCHAR(255) NOT NULL AFTER `tool_id`, 
-  ADD COLUMN `description` TEXT NOT NULL AFTER `title`, 
-  ADD COLUMN `start` DATETIME NOT NULL AFTER `dependences`,​ 
-  ADD COLUMN `end` DATETIME NOT NULL AFTER `start`, 
-  ADD COLUMN `real_start` DATETIME NOT NULL AFTER `end`, 
-  ADD COLUMN `real_end` DATETIME NOT NULL AFTER `real_start`,​ 
-  ADD COLUMN `status` TINYINT UNSIGNED NOT NULL AFTER `real_end`; 
-  ALTER TABLE `agenda_tools` ADD COLUMN `id` INTEGER UNSIGNED NOT NULL AFTER `description`,​ ADD PRIMARY KEY (`id`); 
-  ALTER TABLE `agenda_tools` MODIFY COLUMN `id` INTEGER UNSIGNED NOT NULL DEFAULT NULL AUTO_INCREMENT;​ 
 \\ \\
-  CREATE TABLE IF NOT EXISTS geomap ( 
-    id             ​INTEGER UNSIGNED ​ NOT NULL AUTO_INCREMENT,​ 
-    label          MEDIUMTEXT ​       , 
-    boundingBox ​   GEOMETRY ​         NOT NULL, 
-    owner          MEDIUMTEXT ​       NOT NULL, 
-    owner_id ​      ​INTEGER ​          NOT NULL, 
-    maptype ​       MEDIUMTEXT ​       NOT NULL, 
-    PRIMARY KEY(id) 
-  ) CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=INNODB;​ 
 \\ \\
 +[[il modello generale | indietro]] - [[la consultazione certificata | avanti]]
l_agenda.1280761983.txt.gz · Ultima modifica: 05/06/2013 17:08 (modifica esterna)

Strumenti Pagina

  • Mostra pagina
  • Revisioni precedenti
  • Puntano qui
  • Torna su
Ad eccezione da dove è diversamente indicato, il contenuto di questo wiki è soggetto alla seguente licenza: CC Attribution-Noncommercial-Share Alike 3.0 Unported
CC Attribution-Noncommercial-Share Alike 3.0 Unported Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki