Skip to content
Permalink
Browse files

Add the Persistent auth backend entities to our migrations

  • Loading branch information...
danpalmer committed Jun 11, 2016
1 parent 96cdda2 commit c16d140f2d21592eb2ed2ac784d78f108d22c702
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/Models.hs
@@ -8,9 +8,13 @@

module Models where

import Data.Text
import Data.Time.Clock

import Database.Persist.TH
import Snap.Snaplet.Auth.Backends.Persistent (authEntityDefs)

share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
share [mkPersist sqlSettings, mkMigrate "migrateAll"] $ authEntityDefs ++ [persistLowerCase|
BlogPost
title String
content String

0 comments on commit c16d140

Please sign in to comment.
You can’t perform that action at this time.