aboutsummaryrefslogtreecommitdiffstats
path: root/install/piwigo_structure-mysql.sql
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-06-23 17:57:54 +0200
committerplegall <plg@piwigo.org>2016-06-23 17:57:54 +0200
commitba2b2ab574698eb70de3700953cfac6b1dfbe790 (patch)
tree040a358c01f75b7432897a57747a52a1fcd4996e /install/piwigo_structure-mysql.sql
parent1c7b673e4c5083561ad2fc7fd7decef1dd1dee9e (diff)
parent3f1dbf19c5ef84ae048501f6270e74d7d9638a71 (diff)
Merge branch 'feature/478-last-visit'
Diffstat (limited to 'install/piwigo_structure-mysql.sql')
-rw-r--r--install/piwigo_structure-mysql.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/piwigo_structure-mysql.sql b/install/piwigo_structure-mysql.sql
index 1c7853edc..76e9fe90b 100644
--- a/install/piwigo_structure-mysql.sql
+++ b/install/piwigo_structure-mysql.sql
@@ -460,6 +460,8 @@ CREATE TABLE `piwigo_user_infos` (
`level` tinyint unsigned NOT NULL default '0',
`activation_key` varchar(255) default NULL,
`activation_key_expire` datetime default NULL,
+ `last_visit` datetime default NULL,
+ `last_visit_from_history` enum('true','false') NOT NULL default 'false',
`lastmodified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`user_id`),
KEY `lastmodified` (`lastmodified`)