]> Git — Sourcephile - comptalang.git/blob - web/Model.hs
Correction : Lib.Parsec : évite une dépendance directe vers mtl-2.0.
[comptalang.git] / web / Model.hs
1 module Model where
2
3 import ClassyPrelude.Yesod
4 import Database.Persist.Quasi
5
6 -- You can define all of your database entities in the entities file.
7 -- You can find more information on persistent and how to declare entities
8 -- at:
9 -- http://www.yesodweb.com/book/persistent/
10 share [mkPersist sqlSettings, mkMigrate "migrateAll"]
11 $(persistFileWith lowerCaseSettings "config/models")