úÎ,k*#      !"m(c) 2016 Timo von Holtz <tvh@tvholtz.de>, (c) 2014-2016 Andreas Meingast <ameingast@gmail.com> BSD-styletvh@tvholtz.de experimentalGHCNone?Checks if the table with the given name exists in the database.h(c) 2016 Timo von Holtz <tvh@tvholtz.de>, (c) 2014 Andreas Meingast <ameingast@gmail.com> BSD-styletvh@tvholtz.de experimentalGHCNoneT[/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..A sum-type denoting the result of a migration.'There was an error in script migration.,All scripts have been executed successfully.#5A sum-type denoting the result of a single migration.$LThe script has already been executed and the checksums match. This is good.%TThe script has already been executed and there is a checksum mismatch. This is bad.&4The 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. 6Executes a migration based on the provided bytestring. (Validates the provided MigrationCommand. ]The name of a script. Typically the filename or a custom name when using Haskell migrations.(The checksum type of a migration script. Executes a  .Returns  if the provided  J executes without error. If an error occurs, execution is stopped and a  is returned.1Load migrations from SQL scripts in the provided ' in alphabetical order.6load a migration from script located at the provided '.(Lists all files in the given ' dir in alphabetical order.)9Executes 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. : always succeeds.,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.#$%& ()*+,-.   #$%&  ()*+,-./      !"#$%&'()*+,-./0123,hasql-migration-0.1.3-C8qdmP4GrtrLfdcmGg2LcbHasql.Migration.UtilHasql.Migration existsTableSchemaMigrationschemaMigrationNameschemaMigrationChecksumschemaMigrationExecutedAtMigrationResultMigrationErrorMigrationSuccessMigrationCommandMigrationInitializationMigrationScriptMigrationValidation ScriptNameChecksum runMigrationloadMigrationsFromDirectoryloadMigrationFromFile getMigrations$fOrdSchemaMigration$fShowMigrationCommand$fEqMigrationCommand$fReadMigrationCommand$fOrdMigrationCommand$fShowCheckScriptResult$fEqCheckScriptResult$fReadCheckScriptResult$fOrdCheckScriptResult$fShowMigrationResult$fEqMigrationResult$fReadMigrationResult$fOrdMigrationResult$fShowSchemaMigration$fEqSchemaMigration$fReadSchemaMigrationCheckScriptResultScriptOkScriptModifiedScriptNotExecutedbaseGHC.IOFilePathscriptsInDirectoryexecuteMigrationinitializeSchemaexecuteValidation checkScriptmd5HashdecodeSchemaMigration