Browse Source

Haskell/yesod use lowercase collection for postgres update (#3219)

Nate 7 năm trước cách đây
mục cha
commit
93095910e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frameworks/Haskell/yesod/yesod-postgres/src/Main.hs

+ 1 - 1
frameworks/Haskell/yesod/yesod-postgres/src/Main.hs

@@ -40,7 +40,7 @@ import           Yesod
 import Data.Maybe (fromJust)
 
 mkPersist sqlSettings { mpsGeneric = True } [persistLowerCase|
-World sql=World
+World sql=world
     randomNumber Int sql=randomnumber
 |]