Permalink
Browse files

Adding Typeable to Models.

  • Loading branch information...
1 parent 6b661f4 commit b4ad75a13ccbd7cc7034f495d2a0cf3c0261b108 @alsonkemp committed Jan 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Turbinado/Database/ORM/Output.hs
@@ -56,7 +56,7 @@ generateType t typeName pk ts cs =
[ "data " ++ typeName ++ " = " ++ typeName ++ " {"
] ++
[intercalate ",\n" (map columnToFieldLabel (M.toList cs))] ++
- [ " } deriving (Eq, Show)"
+ [ " } deriving (Eq, Show, Typeable)"
, ""
, "instance DatabaseModel " ++ typeName ++ " where"
, " tableName _ = \"" ++ t ++ "\""

0 comments on commit b4ad75a

Please sign in to comment.