diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-05-20 21:22:44 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-05-20 21:22:44 +0000 |
commit | 8db124da81b8f90d6622ae8086ff57010a996355 (patch) | |
tree | 4b0b5eceb204eea75d017a2fd895bd752915b691 /install/phpwebgallery_structure.sql | |
parent | 396d68275d6fe79ffdf07a378d7e46ebe60bcc7b (diff) |
field comments.date becomes a datetime MySQL field type (instead of int)
git-svn-id: http://piwigo.org/svn/trunk@420 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/phpwebgallery_structure.sql')
-rw-r--r-- | install/phpwebgallery_structure.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index ba3102af0..a6d28e7be 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -36,7 +36,7 @@ DROP TABLE IF EXISTS phpwebgallery_comments; CREATE TABLE phpwebgallery_comments ( id int(11) unsigned NOT NULL auto_increment, image_id mediumint(8) unsigned NOT NULL default '0', - date int(11) unsigned NOT NULL default '0', + date datetime NOT NULL default '0000-00-00 00:00:00', author varchar(255) default NULL, content longtext, validated enum('true','false') NOT NULL default 'false', |