From 687a7ca122b56264c63830112ca43ea7db2c3c7b Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 6 Feb 2006 22:59:30 +0000 Subject: [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 --- install/db/6-database.php | 58 +++++++++++++++++++++++++++++++++++++ install/phpwebgallery_structure.sql | 14 +++++++++ 2 files changed, 72 insertions(+) create mode 100644 install/db/6-database.php (limited to 'install') diff --git a/install/db/6-database.php b/install/db/6-database.php new file mode 100644 index 000000000..08bcf6aea --- /dev/null +++ b/install/db/6-database.php @@ -0,0 +1,58 @@ + 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; -- cgit v1.2.3