aboutsummaryrefslogtreecommitdiffstats
path: root/install/phpwebgallery_structure.sql
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-02-06 22:59:30 +0000
committerrub <rub@piwigo.org>2006-02-06 22:59:30 +0000
commit687a7ca122b56264c63830112ca43ea7db2c3c7b (patch)
treeceba09392c5bc2c452d21d45951dd954e08c8e77 /install/phpwebgallery_structure.sql
parent3d0c5236e1848cefbf672df7243ff34b855f7000 (diff)
[NBM] Step 2: Add new table user_mail_notification (update, install, constants, delete user
+ Correction delete user (table user_feed missing, table sessions must be removed) git-svn-id: http://piwigo.org/svn/trunk@1028 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/phpwebgallery_structure.sql')
-rw-r--r--install/phpwebgallery_structure.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql
index cdc3c5dbc..30ea8b0bd 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -324,3 +324,17 @@ CREATE TABLE `phpwebgallery_waiting` (
PRIMARY KEY (`id`)
) TYPE=MyISAM;
+--
+-- Table structure for table `phpwebgallery_user_mail_notification`
+--
+
+DROP TABLE IF EXISTS `phpwebgallery_user_mail_notification`;
+CREATE TABLE `phpwebgallery_user_mail_notification`
+(
+ `user_id` smallint(5) NOT NULL default '0',
+ `check_key` varchar(128) binary NOT NULL,
+ `enabled` enum('true','false') NOT NULL default 'false',
+ `last_send` datetime default NULL,
+ PRIMARY KEY (`user_id`),
+ UNIQUE KEY `uidx_check_key` (`check_key`)
+) TYPE=MyISAM;