úÎ>¨;<2      !"#$%&'()*+,-./01/(c) 2014 Andreas Meingast <ameingast@gmail.com> BSD-styleameingast@gmail.com experimentalGHCNone]!?Checks if the table with the given name exists in the database.qExecutes the given IO monad inside a transaction and performs a roll-back afterwards (even if exceptions occur)./(c) 2014 Andreas Meingast <ameingast@gmail.com> BSD-styleameingast@gmail.com experimentalGHCNone345]:#/A product type representing a single, executed .#The name of the executed migration.3The calculated MD5 checksum of the executed script.DA timestamp without timezone of the date of execution of the script.The . provides an execution context for migrations. %The action that will be performed by  Verbosity of the library. 0The PostgreSQL connection to use for migrations. .A sum-type denoting the result of a migration. 'There was an error in script migration.,All scripts have been executed successfully.25A sum-type denoting the result of a single migration.3LThe script has already been executed and the checksums match. This is good.4TThe script has already been executed and there is a checksum mismatch. This is bad.54The script has not been executed, yet. This is good. determines the action of the  script.JInitializes the database with a helper table containing meta information.9Executes migrations based on SQL scripts in the provided 6 in alphabetical order.>Executes a migration based on script located at the provided 6.6Executes a migration based on the provided bytestring.?Validates that the provided MigrationCommand has been executed.Performs a series of s in sequence.]The name of a script. Typically the filename or a custom name when using Haskell migrations.(The checksum type of a migration script.(Executes migrations inside the provided .Returns  if the provided J executes without error. If an error occurs, execution is stopped and a   is returned.It is recommended to wrap  inside a database transaction. Execute a sequence of migrationsReturns  if all of the provided Ls execute without error. If an error occurs, execution is stopped and the   is returned.It is recommended to wrap  inside a database transaction.9Run a sequence of contexts, stopping on the first failure7?Executes all SQL-file based migrations located in the provided dir in alphabetical order.8Lists all files in the given 6 dir in alphabetical order.99Executes a generic SQL migration for the provided script name with content contents.:kInitializes the database schema with a helper table containing meta-information about executed migrations.; Validates a 4. Validation is defined as follows for these types:7: validate the presence of the meta-information table.R: validate the presence and checksum of all scripts found in the given directory.9: validate the presence and checksum of the given script.7: validate the presence and checksum of the given file.: always succeeds.?: validates all the sub-commands stopping at the first failure.<4Checks the status of the script with the given name nameõ. If the script has already been executed, the checksum of the script is compared against the one that was executed. If there is no matching script entry in the database, the script will be executed and its meta-information will be recorded.=KCalculates the MD5 checksum of the provided bytestring in base64 encoding. Produces a list of all executed s.Run in verbose modeThe postgres connection to useThe commands to run      2345>       !"#$%&'()*+,-./0123456789:;<=>?@A;postgresql-simple-migration-0.1.12.0-9JoobQyt97YH39AU0RneVXDatabase.PostgreSQL.Simple.Util$Database.PostgreSQL.Simple.Migration existsTablewithTransactionRolledBackSchemaMigrationschemaMigrationNameschemaMigrationChecksumschemaMigrationExecutedAtMigrationContextmigrationContextCommandmigrationContextVerbosemigrationContextConnectionMigrationResultMigrationErrorMigrationSuccessMigrationCommandMigrationInitializationMigrationDirectory MigrationFileMigrationScriptMigrationValidationMigrationCommands ScriptNameChecksum runMigration runMigrationssequenceMigrations getMigrations$fMonoidMigrationCommand$fToRowSchemaMigration$fFromRowSchemaMigration$fOrdSchemaMigration$fShowMigrationCommand$fEqMigrationCommand$fReadMigrationCommand$fOrdMigrationCommand$fShowCheckScriptResult$fEqCheckScriptResult$fReadCheckScriptResult$fOrdCheckScriptResult$fShowMigrationResult$fEqMigrationResult$fReadMigrationResult$fOrdMigrationResult$fFunctorMigrationResult$fFoldableMigrationResult$fTraversableMigrationResult$fShowSchemaMigration$fEqSchemaMigration$fReadSchemaMigrationCheckScriptResultScriptOkScriptModifiedScriptNotExecutedbaseGHC.IOFilePathexecuteDirectoryMigrationscriptsInDirectoryexecuteMigrationinitializeSchemaexecuteValidation checkScriptmd5Hash