aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/phpwebgallery_structure.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql
index 3a387603b..8ad3d1f7a 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -94,12 +94,13 @@ CREATE TABLE phpwebgallery_groups (
DROP TABLE IF EXISTS phpwebgallery_history;
CREATE TABLE phpwebgallery_history (
- date int(11) NOT NULL default '0',
+ date datetime NOT NULL default '0000-00-00 00:00:00',
login varchar(15) default NULL,
IP varchar(50) NOT NULL default '',
category varchar(150) default NULL,
file varchar(50) default NULL,
- picture varchar(150) default NULL
+ picture varchar(150) default NULL,
+ PRIMARY KEY `date` (`date`)
) TYPE=MyISAM;
--