-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | SQLite implementations for eventful
--
-- SQLite implementations for eventful
@package eventful-sqlite
@version 0.1.2
-- | Defines an Sqlite event store.
module Eventful.Store.Sqlite
-- | An EventStore that uses an SQLite database as a backend. Use
-- SqlEventStoreConfig to configure this event store.
sqliteEventStore :: (MonadIO m, PersistEntity entity, PersistEntityBackend entity ~ SqlBackend) => SqlEventStoreConfig entity serialized -> EventStore serialized (SqlPersistT m)
-- | This functions runs the migrations required to create the events table
-- and also adds an index on the UUID column.
initializeSqliteEventStore :: (MonadIO m, PersistEntity entity, PersistEntityBackend entity ~ SqlBackend) => SqlEventStoreConfig entity serialized -> ConnectionPool -> m ()