summaryrefslogtreecommitdiff
path: root/Model.hs
diff options
context:
space:
mode:
authorFélix Sipma <gueux@gueux.org>2014-09-20 22:27:00 +0200
committerFélix Sipma <gueux@gueux.org>2014-09-21 19:22:44 +0200
commit7a6acce2d43348274c6d7448693ba7bb25a8f2be (patch)
treec7940eb86d2dc3202ee76c90610b12c34403bf63 /Model.hs
parent5c8bc75de8474f34489c7bff01dda08967aacd27 (diff)
scaffolding update; persistent 2.0
Diffstat (limited to 'Model.hs')
-rw-r--r--Model.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model.hs b/Model.hs
index 62e7939..1d8e80a 100644
--- a/Model.hs
+++ b/Model.hs
@@ -14,5 +14,5 @@ import Shop.Quantity.Types (Quantity)
-- You can find more information on persistent and how to declare entities
-- at:
-- http://www.yesodweb.com/book/persistent/
-share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"]
+share [mkPersist sqlSettings, mkMigrate "migrateAll"]
$(persistFileWith lowerCaseSettings "config/models")