úÎRûM—6      !"#$%&'()*+,-./012345None"#;<=>?NQVL6A hack to avoid orphans. Name of the toJSON implementation for Entity a. Name of the fromJSON implementation for Entity a.Settings to be passed to the  function.#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.–Create generic types that can be used with multiple backends. Good for reusable code, but makes error messages harder to understand. Default: False.6Prefix field names with the model name. Default: True. 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 } MInstead of generating normal field accessors, generator lens-style accessors.Default: False7‚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/412 ‹Converts a quasi-quoted syntax into a list of entity definitions, to be used as input to the template haskell generation code (mkPersist). Apply   to 8. Apply   to 9. Same as  9, but uses an external file instead of a quasiquotation.Same as  ¥, but uses several external files instead of one. Splitting your Persistent definitions into multiple modules can potentially dramatically speed up compile times.Examples7Split your Persistent definitions into multiple files (models1, models28), then create a new module for each new file and run  there:  -- Model1.hs  [ ] $(  9 "models1")   -- Model2.hs  [ ] $(  9 "models2") Use  to create your migrations: -- Migrate.hs  [ "migrateAll"] $( 9 ["models1","models2"]) 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."Create data types and appropriate : instances for the given ;,s. Works well with the persist quasi-quoter.<>Implement special preprocessing on EntityDef as necessary for =. For example, strip out any fields marked as MigrationOnly. Create an MkPersistSettings with default values.Use the  SqlPersist backend.Same as .=/declare the key type and associated instances >, ? and @6 instances are only generated for a Key with one field&produce code similar to the following: ÿÔ instance PersistEntity e => PersistField e where toPersistValue = PersistMap $ zip columNames (map toPersistValue . toPersistFields) fromPersistValue (PersistMap o) = let columns = HM.fromList o in fromPersistValues $ map (name -> case HM.lookup name columns of Just v -> v Nothing -> PersistNull fromPersistValue x = Left $ "Expected PersistMap, received: " ++ show x sqlType _ = SqlString .Apply the given list of functions to the same  EntityDefs.*This function is useful for cases such as:Fshare [mkSave "myDefs", mkPersist sqlSettings] [persistLowerCase|...|] Save the  EntityDef!s passed in under the given name. Generate a A instance for the given  EntityDefs.Automatically creates a valid B+ instance for any datatype that has valid C and D( instances. Can be very convenient for E types.Automatically creates a valid B+ instance for any datatype that has valid F and G 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 õ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. Value for HbackendI entity namebackendJ'include PersistStore backend constraintK'include PersistStore backend constraintL'include PersistStore backend constraintMtablefield  "    6NOPQRSTU VWXYZ[\]^_`a5b      !"#$%&'()*+,-./0123456789:;9:<9=>9?@ABCDEFGHFGI9JK9LMNOPNQRNSTUVWUXYZ[\]^_`aabcdefghhiijjkllmn/persistent-template-2.5.4-HWM5buniJCsl8xJ233xBdDatabase.Persist.TH EntityJSON entityToJSONentityFromJSONMkPersistSettings mpsBackend mpsGenericmpsPrefixFields mpsEntityJSONmpsGenerateLenses persistWithpersistUpperCasepersistLowerCasepersistFileWithpersistManyFileWithparseReferences mkPersistmkPersistSettings sqlSettingssqlOnlySettingslensPTHpersistFieldFromEntitysharemkSavemkDeleteCascadederivePersistFieldderivePersistFieldJSON mkMigratepackPTH $fLiftSqlType$fLiftPersistUpdate$fLiftPersistFilter$fLiftFieldType $fLiftDBName$fLiftHaskellName$fLiftForeignDef$fLiftCompositeDef$fLiftUniqueDef$fLiftFieldDef$fLiftEntityDef$fLiftEmbedFieldDef$fLiftEmbedEntityDef$fLiftReferenceDef$fLiftSqlTypeExp$fLiftEntityDefSqlTypeExp$fLiftFieldSqlTypeExp$fLiftFieldsSqlTypeExp$fLifta $fLift'Map $fLift'[] $fLift'Text$fShowSqlTypeExp$fShowEntityDefSqlTypeExp$fShowFTTypeConDescrLift'unHaskellNameForJSON'persistent-2.8.1-Dc3yuL3RbhX1c9a0Vj1VGMDatabase.Persist.QuasiupperCaseSettingslowerCaseSettings$Database.Persist.Class.PersistEntity PersistEntityDatabase.Persist.Types.Base EntityDef fixEntityDef mkKeyTypeDec(path-pieces-0.2.1-2JkmVvNKTXqLop0xKh22kiWeb.PathPieces PathPiece,http-api-data-0.3.7.2-ALcy8YFQjFl5C6UOLKxT7NWeb.Internal.HttpApiData ToHttpApiDataFromHttpApiData$Database.Persist.Class.DeleteCascade DeleteCascade#Database.Persist.Class.PersistField PersistFieldbaseGHC.ShowShowGHC.ReadReadGHC.EnumEnum$aeson-1.2.4.0-18yGL0aLZDxCNpigNRqRjtData.Aeson.Types.ToJSONToJSONData.Aeson.Types.FromJSONFromJSON maybeIdTypegenericDataType typeInstanceDpersistFieldInstanceDpersistFieldSqlInstanceDfilterConName'lift'Dep depTargetdepSourceTabledepSourceField depSourceNullFTTypeConDescrFTKeyConFieldSqlTypeExpFieldsSqlTypeExp SqlTypeExpSqlType'EntityDefSqlTypeExp++