Hoogle Search
Within LTS Haskell 23.21 (ghc-9.8.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
persistent Database.Persist.Sql.Migration Same as runMigration, but returns a list of the SQL commands executed instead of printing them to stderr. This function silences the migration by remapping stderr. As a result, it is not thread-safe and can clobber output from other parts of the program. This implementation method was chosen to also silence postgresql migration output on stderr, but is not recommended!
runMigrationSilent :: MonadSqlQuery m => Migration -> m [Text]persistent-mtl Database.Persist.Sql.Shim The lifted version of runMigrationSilent
Page 1 of 1