Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
il_meeting_online [05/08/2010 11:39] |
il_meeting_online [06/08/2010 15:25] |
||
---|---|---|---|
Linea 8: | Linea 8: | ||
\\ | \\ | ||
\\ | \\ | ||
- | CREATE TABLE `meetings` ( | + | **MEETINGS** |
- | `id` int(11) NOT NULL auto_increment, | + | \\ |
- | `title` text NOT NULL, | + | CREATE TABLE IF NOT EXISTS `meetings` ( |
- | `main_motion` int(11) NOT NULL, | + | `id` int(11) NOT NULL auto_increment, |
+ | `title` text NOT NULL, | ||
+ | `main_motion` int(11) NOT NULL, | ||
+ | `floor_timer` int(11) NOT NULL, | ||
+ | `id_oob` int(11) NOT NULL, | ||
+ | `suspend` int(11) NOT NULL, | ||
+ | `quorum` int(11) NOT NULL, | ||
PRIMARY KEY (`id`) | PRIMARY KEY (`id`) | ||
- | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | + | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
\\ | \\ | ||
- | CREATE TABLE `meeting_odg` ( | + | **MEETING_ODG** - Descrizione ordine del giorno. |
- | `id` INT NOT NULL , | + | |
- | `meeting_id` INT NOT NULL , | + | |
- | `timestamp` TIMESTAMP NOT NULL , | + | |
- | `description` TEXT NOT NULL | + | |
- | ) ENGINE = MYISAM ; | + | |
\\ | \\ | ||
- | USERS vedi [[il modello generale | modello generale]] | + | CREATE TABLE IF NOT EXISTS `meeting_odg` ( |
+ | `id` int(11) NOT NULL auto_increment, | ||
+ | `meeting_id` int(11) NOT NULL, | ||
+ | `timestamp` datetime NOT NULL, | ||
+ | `description` text NOT NULL, | ||
+ | PRIMARY KEY (`id`) | ||
+ | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
\\ | \\ | ||
- | CREATE TABLE `meeting_messages` ( | + | **MEETING MESSAGES** |
- | `id_messaggio` int(11) NOT NULL, | + | |
- | `testo` text NOT NULL, | + | |
- | `autore` int(11) NOT NULL, | + | |
- | `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP | + | |
- | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | + | |
\\ | \\ | ||
- | CREATE TABLE `meeting_rules` ( | + | CREATE TABLE IF NOT EXISTS `meeting_messages` ( |
- | `description` text NOT NULL, | + | `id` int(10) unsigned NOT NULL auto_increment, |
- | `rank` int(11) NOT NULL, | + | `text` text NOT NULL, |
- | `interrupt` tinyint(1) NOT NULL, | + | `user_id` int(10) unsigned NOT NULL, |
- | `secondable` tinyint(1) NOT NULL, | + | `motion_id` int(10) unsigned NOT NULL, |
- | `debateable` tinyint(1) NOT NULL, | + | `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, |
- | `vote` int(11) NOT NULL, | + | PRIMARY KEY (`id`) |
- | `amendable` tinyint(1) NOT NULL, | + | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
- | PRIMARY KEY (`rank`) | + | |
- | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | + | |
\\ | \\ | ||
- | CREATE TABLE `meeting_messages` ( | + | **MEETING RULES** |
- | `id_messaggio` int(11) NOT NULL, | + | \\ |
- | `testo` text NOT NULL, | + | CREATE TABLE IF NOT EXISTS `meeting_rules` ( |
- | `autore` int(11) NOT NULL, | + | `description` text NOT NULL, |
- | `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP | + | `id` int(11) NOT NULL, |
- | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | + | `interrupt` tinyint(1) NOT NULL, |
+ | `secondable` tinyint(1) NOT NULL, | ||
+ | `debateable` tinyint(1) NOT NULL, | ||
+ | `vote` int(11) NOT NULL, | ||
+ | `amendable` tinyint(1) NOT NULL, | ||
+ | PRIMARY KEY (`id`) | ||
+ | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
+ | \\ | ||
+ | **MEETING MOTIONS** | ||
+ | \\ | ||
+ | CREATE TABLE IF NOT EXISTS `meeting_motions` ( | ||
+ | `id` int(11) NOT NULL auto_increment, | ||
+ | `testo` text NOT NULL, | ||
+ | `user_id` int(11) NOT NULL, | ||
+ | `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, | ||
+ | `meeting_id` int(11) NOT NULL, | ||
+ | `rule_id` int(11) NOT NULL, | ||
+ | `main_motion` int(11) NOT NULL, | ||
+ | `seconded` int(11) NOT NULL, | ||
+ | `debated` int(11) NOT NULL, | ||
+ | `vote` int(11) NOT NULL, | ||
+ | `closed` tinyint(1) NOT NULL, | ||
+ | `oob_id` int(11) NOT NULL, | ||
+ | PRIMARY KEY (`id`) | ||
+ | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
\\ | \\ | ||
+ | **USERS** vedi [[il modello generale | modello generale]] | ||
\\ | \\ | ||
\\ | \\ | ||
\\ | \\ | ||
[[la consultazione certificata | indietro]] - [[la DI | avanti]] | [[la consultazione certificata | indietro]] - [[la DI | avanti]] |