-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | SQLite support for the drifter schema migraiton tool
--
-- Please see the README on GitHub at
-- https://github.com/MichaelXavier/drifter-sqlite#readme
@package drifter-sqlite
@version 0.1.0.0
module Drifter.SQLite
data SQLiteMigration
data ChangeHistory
ChangeHistory :: ChangeId -> ChangeName -> Maybe Description -> UTCTime -> ChangeHistory
[histId] :: ChangeHistory -> ChangeId
[histName] :: ChangeHistory -> ChangeName
[histDescription] :: ChangeHistory -> Maybe Description
[histTime] :: ChangeHistory -> UTCTime
-- | Takes the list of all migrations, removes the ones that have already
-- run and runs them. Use this instead of migrate.
runMigrations :: Connection -> [Change SQLiteMigration] -> IO (Either String ())
-- | Get all changes from schema_migrations table for all the migrations
-- that have previously run.
getChangeHistory :: Connection -> IO [ChangeHistory]
-- | Get just the names of all changes from schema_migrations for
-- migrations that have previously run.
getChangeNameHistory :: Connection -> IO [ChangeName]
instance GHC.Show.Show Drifter.SQLite.RolledBack
instance GHC.Show.Show Drifter.SQLite.ChangeHistory
instance Database.SQLite.Simple.FromField.FromField Drifter.SQLite.ChangeId
instance GHC.Show.Show Drifter.SQLite.ChangeId
instance GHC.Classes.Ord Drifter.SQLite.ChangeId
instance GHC.Classes.Eq Drifter.SQLite.ChangeId
instance GHC.Exception.Exception Drifter.SQLite.RolledBack
instance GHC.Classes.Eq Drifter.SQLite.ChangeHistory
instance GHC.Classes.Ord Drifter.SQLite.ChangeHistory
instance Database.SQLite.Simple.FromRow.FromRow Drifter.SQLite.ChangeHistory
instance Drifter.Graph.Drifter Drifter.SQLite.SQLiteMigration