use datetime instead of timestamp
This commit is contained in:
committed by
Jeremy Newman
parent
3cb02ae957
commit
1e06cab9d9
@@ -35,7 +35,7 @@ if($body)
|
|||||||
// get current userid
|
// get current userid
|
||||||
$userId = (loggedin()) ? $current->userid : 0;
|
$userId = (loggedin()) ? $current->userid : 0;
|
||||||
|
|
||||||
$result = mysql_query("INSERT INTO appComments VALUES (null, null, $thread, ".
|
$result = mysql_query("INSERT INTO appComments VALUES (NOW(), null, $thread, ".
|
||||||
"$appId, $versionId, $userId, '$hostname', '$subject', ".
|
"$appId, $versionId, $userId, '$hostname', '$subject', ".
|
||||||
"'$body1', 0)");
|
"'$body1', 0)");
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ create table appOwners (
|
|||||||
* user comments
|
* user comments
|
||||||
*/
|
*/
|
||||||
create table appComments (
|
create table appComments (
|
||||||
time timestamp,
|
time datetime,
|
||||||
commentId int not null auto_increment,
|
commentId int not null auto_increment,
|
||||||
parentId int default 0,
|
parentId int default 0,
|
||||||
appId int not null,
|
appId int not null,
|
||||||
@@ -256,7 +256,7 @@ create table appMaintainers (
|
|||||||
appId int,
|
appId int,
|
||||||
versionId int,
|
versionId int,
|
||||||
userId int,
|
userId int,
|
||||||
submitTime timestamp,
|
submitTime datetime,
|
||||||
key(maintainerId)
|
key(maintainerId)
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ create table appMaintainerQueue (
|
|||||||
versionId int,
|
versionId int,
|
||||||
userId int,
|
userId int,
|
||||||
maintainReason text,
|
maintainReason text,
|
||||||
submitTime timestamp,
|
submitTime datetime,
|
||||||
key(queueId)
|
key(queueId)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user