refurb-0.2.1.0: Tools for maintaining a database

Safe HaskellNone
LanguageHaskell2010

Refurb.Run.Info

Synopsis

Documentation

showMigrationStatus :: (MonadRefurb m, MonoTraversable t, Element t ~ These Migration (Record MigrationLog)) => t -> m () Source #

Given a migration status as read by readMigrationStatus, pretty print that information as a table on stdout.

showLog :: MonadRefurb m => m () Source #

Implement the show-log command by reading the entire migration log and displaying it with showMigrationStatus.

showMigration :: MonadRefurb m => FQualifiedKey -> m () Source #

Implement the show-migration command by reading migration log pertaining to the given migration key and displaying it with showMigrationStatus plus its log output.