From f6bc6d42c0c9ab83e9552f33aacdcc04bd89aa9b Mon Sep 17 00:00:00 2001 From: Yann Esposito Date: Fri, 21 Dec 2012 16:16:40 +0100 Subject: [PATCH] update for timestamp initialisation issue --- config/models | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/models b/config/models index cffdb9e..2dda433 100644 --- a/config/models +++ b/config/models @@ -21,7 +21,7 @@ Entry yeah Int default=0 neah Int default=0 nbView Int default=0 - created UTCTime default=now() + created UTCTime default=LOCALTIMESTAMP Vote creator UserId entry EntryId @@ -31,7 +31,7 @@ Comment entry EntryId creator UserId Maybe replyTo CommentId Maybe - created UTCTime default=now() + created UTCTime default=LOCALTIMESTAMP content Textarea yeah Int default=0 neah Int default=0