Remove a little redundancy from config/models as provided by the scaffold

This commit is contained in:
Danielle McLean 2017-10-02 21:01:20 +11:00
parent 1794e63bb0
commit c996018486
Signed by: 00dani
GPG key ID: 3844A6973C6058F1

View file

@ -5,12 +5,12 @@ User
deriving Typeable
Email
email Text sqltype=varchar(255)
userId UserId Maybe sqltype=varchar(255) default=NULL
userId UserId Maybe default=NULL
verkey Text Maybe sqltype=varchar(255) default=NULL
UniqueEmail email
Comment json -- Adding "json" causes ToJSON and FromJSON instances to be derived.
message Text sqltype=varchar(255)
userId UserId Maybe sqltype=varchar(255) default=NULL
userId UserId Maybe default=NULL
deriving Eq
deriving Show