Constructors
PersistSettingspsToDBName :: !Text -> TextModify the Haskell-style name into a database-style name.
psToFKName :: !EntityNameHS -> ConstraintNameHS -> TextA function for generating the constraint name, with access to the entity and constraint names. Default value:
mappendpsStrictFields :: !BoolWhether fields are by default strict. Default value:
True.psIdName :: !TextThe name of the id column. Default value:
idThe name of the id column can also be changed on a per-model basis https://github.com/yesodweb/persistent/wiki/Persistent-entity-syntaxpsTabErrorLevel :: Maybe ParserErrorLevelWhether and with what severity to disallow tabs in entity source text.
psQuotedArgumentErrorLevel :: Maybe ParserErrorLevelWhether and with what severity to disallow quoted entity field attributes and quoted directive arguments.
Instances1MonadReader
MonadReader PersistSettings ParserDefined in persistent-2.18.1.0 · Database.Persist.Quasi.Internal.ModelParser