nix build, builds scaffolding succesfully
This commit is contained in:
parent
2d5cb45beb
commit
97aa05b2d7
50 changed files with 9475 additions and 1 deletions
18
config/models.persistentmodels
Normal file
18
config/models.persistentmodels
Normal file
|
@ -0,0 +1,18 @@
|
|||
-- By default this file is used by `persistFileWith` in Model.hs (which is imported by Foundation.hs)
|
||||
-- Syntax for this file here: https://github.com/yesodweb/persistent/blob/master/docs/Persistent-entity-syntax.md
|
||||
|
||||
User
|
||||
ident Text
|
||||
password Text Maybe
|
||||
UniqueUser ident
|
||||
deriving Typeable
|
||||
Email
|
||||
email Text
|
||||
userId UserId Maybe
|
||||
verkey Text Maybe
|
||||
UniqueEmail email
|
||||
Comment json -- Adding "json" causes ToJSON and FromJSON instances to be derived.
|
||||
message Text
|
||||
userId UserId Maybe
|
||||
deriving Eq
|
||||
deriving Show
|
Loading…
Add table
Add a link
Reference in a new issue