úÎ!nCi±8      !"#$%&'()*+,-./01234567None"#1;=?MPSX_h‚ persistent-template Name of the toJSON implementation for Entity a.persistent-template Name of the fromJSON implementation for Entity a.persistent-templateSettings to be passed to the  function. persistent-template#Which database backend we're using.ÉWhen generating data types, each type is given a generic version- which works with any backend- and a type synonym for the commonly used backend. This is where you specify that commonly used backend. persistent-template–Create generic types that can be used with multiple backends. Good for reusable code, but makes error messages harder to understand. Default: False. persistent-template6Prefix field names with the model name. Default: True. persistent-template Generate ToJSON/FromJSON* instances for each model types. If it's Nothing*, no instances will be generated. Default: t Just EntityJSON { entityToJSON = 'keyValueEntityToJSON , entityFromJSON = 'keyValueEntityFromJSON } persistent-templateMInstead of generating normal field accessors, generator lens-style accessors.Default: Falsepersistent-templateLAutomatically derive these typeclass instances for all record and key types. Default: []8persistent-template‚This special-cases "type_" and strips out its underscore. When used for JSON serialization and deserialization, it works around 1https://github.com/yesodweb/persistent/issues/412persistent-template‹Converts a quasi-quoted syntax into a list of entity definitions, to be used as input to the template haskell generation code (mkPersist).persistent-templateApply  to 9.persistent-templateApply  to :.persistent-templateSame as \, but uses an external file instead of a quasiquotation. The recommended file extension is .persistentmodels.persistent-templateSame as ¤, but uses several external files instead of one. Splitting your Persistent definitions into multiple modules can potentially dramatically speed up compile times."The recommended file extension is .persistentmodels.Examples7Split your Persistent definitions into multiple files (models1, models27), then create a new module for each new file and run  there:  -- Model1.hs  [ ] $( : "models1")   -- Model2.hs  [ ] $( : "models2") Use  to create your migrations: -- Migrate.hs  [" "migrateAll"] $( :: ["models1.persistentmodels","models2.persistentmodels"]) rTip: To get the same import behavior as if you were declaring all your models in one file, import your new files as Name into another file, then export  module Name.This approach may be used in the future to reduce memory usage during compilation, but so far we've only seen mild reductions.See  1https://github.com/yesodweb/persistent/issues/778persistent#778 and  /https://github.com/yesodweb/persistent/pull/791persistent#791 for more details.persistent-templateyTakes a list of (potentially) independently defined entities and properly links all foreign keys to reference the right ;#, tying the knot between entities.‹Allows users to define entities indepedently or in separate modules and then fix the cross-references between them at runtime to create a <.persistent-templatepersistent-template"Create data types and appropriate = instances for the given ;,s. Works well with the persist quasi-quoter.>persistent-template>Implement special preprocessing on EntityDef as necessary for =. For example, strip out any fields marked as MigrationOnly.persistent-template Create an MkPersistSettings with default values.persistent-templateUse the  SqlPersist backend.?persistent-template/declare the key type and associated instances @, A and B6 instances are only generated for a Key with one fieldpersistent-template%Render an error message based on the  tableName and  fieldName with the provided message.persistent-template&Produce code similar to the following: Å instance PersistEntity e => PersistField e where toPersistValue = entityToPersistValueHelper fromPersistValue = entityFromPersistValueHelper ["col1", "col2"] sqlType _ = SqlString persistent-template.Apply the given list of functions to the same  EntityDefs.*This function is useful for cases such as:Fshare [mkSave "myDefs", mkPersist sqlSettings] [persistLowerCase|...|]persistent-template Save the  EntityDef!s passed in under the given name.persistent-template Generate a C instance for the given  EntityDefs.persistent-templateCreates a declaration for the [;] from the  persistent– schema. This is necessary because the Persistent QuasiQuoter is unable to know the correct type of ID fields, and assumes that they are all Int64.%Provide this in the list you give to  , much like ".  [" "migrateAll",  "entityDefs"] [...] persistent-templateAutomatically creates a valid D+ instance for any datatype that has valid E and F( instances. Can be very convenient for G types.!persistent-templateAutomatically creates a valid D+ instance for any datatype that has valid H and I instances. For a datatype T* it generates instances similar to these: õ instance PersistField T where toPersistValue = PersistByteString . L.toStrict . encode fromPersistValue = (left T.pack) . eitherDecodeStrict' <=< fromPersistValue instance PersistFieldSql T where sqlType _ = SqlString "persistent-templateõCreates a single function to perform all migrations for the entities defined here. One thing to be aware of is dependencies: if you have entities with foreign references, make sure to place those definitions after the entities they reference.Jpersistent-templateXCheck that all of Persistent's required extensions are enabled, or else fail compilationlThis function should be called before any code that depends on one of the required extensions being enabled. persistent-template Value for  Kpersistent-templatebackendLpersistent-template entity namepersistent-templatebackendMpersistent-templatePColumn names, as '[String]' to avoid extra calls to "pack" in the generated codepersistent-template#The name that will be given to the ; list.Npersistent-template'include PersistStore backend constraintOpersistent-template'include PersistStore backend constraintPpersistent-template'include PersistStore backend constraintQpersistent-templatetablepersistent-templatefield#  !"# " !R5S      !"#$%&'()*+,-./0123456789:;<=<>?@ABCDEFGHIJKLJKMNOPQRSTRUVRWXYZ[Y\]^_`abcdefg2persistent-template-2.8.2.1-A1yHZ2AlyKX58vX1q7ro3KDatabase.Persist.TH(persistent-2.10.5-1fFv1AEE8x6HtgbocY4gX1$Database.Persist.Class.PersistUnique onlyUniquePOnlyOneUniqueKeyrequireUniquesPAtLeastOneUniqueKey EntityJSON entityToJSONentityFromJSONMkPersistSettings mpsBackend mpsGenericmpsPrefixFields mpsEntityJSONmpsGenerateLensesmpsDeriveInstances persistWithpersistUpperCasepersistLowerCasepersistFileWithpersistManyFileWithembedEntityDefsparseReferences mkPersistmkPersistSettings sqlSettingslensPTH fieldErrorpersistFieldFromEntitysharemkSavemkDeleteCascademkEntityDefListderivePersistFieldderivePersistFieldJSON mkMigrate $fLiftSqlType$fLiftPersistUpdate$fLiftPersistFilter$fLiftFieldType $fLiftDBName$fLiftHaskellName$fLiftForeignDef$fLiftCompositeDef$fLiftUniqueDef$fLiftFieldDef$fLiftEntityDef$fLiftEmbedFieldDef$fLiftEmbedEntityDef$fLiftReferenceDef$fLiftSqlTypeExp$fLiftEntityDefSqlTypeExp$fLiftFieldSqlTypeExp$fLiftFieldsSqlTypeExp$fShowSqlTypeExp$fShowEntityDefSqlTypeExp$fShowFTTypeConDescrunHaskellNameForJSONDatabase.Persist.QuasiupperCaseSettingslowerCaseSettingsDatabase.Persist.Types.Base EntityDefDatabase.Persist.Sql.Types Migration$Database.Persist.Class.PersistEntity PersistEntity fixEntityDef mkKeyTypeDec(path-pieces-0.2.1-7jseLTOU0PkHMQiwNvt0jGWeb.PathPieces PathPiece,http-api-data-0.4.1.1-1eoxUtY6Cht7PhMIamJttrWeb.Internal.HttpApiData ToHttpApiDataFromHttpApiData$Database.Persist.Class.DeleteCascade DeleteCascade#Database.Persist.Class.PersistField PersistFieldbaseGHC.ShowShowGHC.ReadReadGHC.EnumEnum$aeson-1.4.6.0-GeeCNPxAQoKGKiLrCc0oRWData.Aeson.Types.ToJSONToJSONData.Aeson.Types.FromJSONFromJSONrequirePersistentExtensions maybeIdTypegenericDataTypeentityFromPersistValueHelper typeInstanceDpersistFieldInstanceDpersistFieldSqlInstanceDfilterConName'++