From 778f22c85df705c7d0d76254aedf56254aa7a8cc Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Tue, 24 May 2016 08:37:41 +0000 Subject: [PATCH] Define column default like PostgreSQL to prevent repeated migration --- config/models | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/models b/config/models index cd56a5d..e4c093f 100644 --- a/config/models +++ b/config/models @@ -19,7 +19,7 @@ Sharer ident ShrIdent name Text Maybe - created UTCTime default='now()' + created UTCTime default=now() UniqueSharer ident @@ -60,7 +60,7 @@ Project sharer SharerId name Text Maybe desc Text Maybe - nextTicket Int default='1' + nextTicket Int default=1 UniqueProject ident sharer