com web/bugs: Fix default value for bugdb_comments.ts: sql/bugs.sql
| From: | Philip Olson | Date: | Sat, 31 Mar 2018 04:27:57 +0000 |
| Subject: | com web/bugs: Fix default value for bugdb_comments.ts: sql/bugs.sql | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27026@lists.php.net to get a copy of this message | ||
Commit: 69994ca6bb4cfc2f166db56cfaea545b10de68db
Author: Gabriel Caruso <carusogabriel34@gmail.com> Sat, 31 Mar 2018 01:27:57 -0300
Committer: GitHub <noreply@github.com> Sat, 31 Mar 2018 01:27:57 -0300
Parents: d5b95f1d207d06fc06379f1c00f5dbb387d54787
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=69994ca6bb4cfc2f166db56cfaea545b10de68db
Log:
Fix default value for bugdb_comments.ts
Changed paths:
M sql/bugs.sql
Diff:
diff --git a/sql/bugs.sql b/sql/bugs.sql
index b289ec6..05b1616 100644
--- a/sql/bugs.sql
+++ b/sql/bugs.sql
@@ -35,7 +35,7 @@ CREATE TABLE bugdb_comments (
bug int(8) NOT NULL default '0',
email varchar(40) NOT NULL default '',
reporter_name varchar(80) default '',
- ts datetime NOT NULL default '0000-00-00 00:00:00',
+ ts datetime NOT NULL default CURRENT_TIMESTAMP,
comment text NOT NULL,
comment_type varchar(10) default 'comment',
visitor_ip int(8) UNSIGNED NOT NULL,