diff --git a/eventium-sql-common.cabal b/eventium-sql-common.cabal
--- a/eventium-sql-common.cabal
+++ b/eventium-sql-common.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           eventium-sql-common
-version:        0.6.1
+version:        0.7.0
 synopsis:       Common library for SQL event stores
 description:    Eventium-sql-common provides shared utilities and abstractions for SQL-based event stores.
                 It includes Persistent entity definitions, JSON serialization helpers, and common database
@@ -51,7 +51,7 @@
       aeson >=1.5 && <2.3
     , base >=4.20 && <5
     , bytestring >=0.10 && <0.13
-    , eventium-core >=0.6.1 && <0.7.0
+    , eventium-core >=0.7.0 && <0.8.0
     , mtl >=2.2 && <2.4
     , persistent >=2.14 && <2.18
     , text >=1.2 && <2.2
diff --git a/src/Eventium/ProjectionCache/Sql.hs b/src/Eventium/ProjectionCache/Sql.hs
--- a/src/Eventium/ProjectionCache/Sql.hs
+++ b/src/Eventium/ProjectionCache/Sql.hs
@@ -75,7 +75,7 @@
 sqlVersionedProjectionCache ::
   (MonadIO m) =>
   ProjectionName ->
-  ProjectionCache UUID EventVersion JSONString (SqlPersistT m)
+  ProjectionCache UUID EventVersion (SqlPersistT m) JSONString
 sqlVersionedProjectionCache name =
   ProjectionCache
     { storeSnapshot = \uuid (EventVersion ver) state -> do
@@ -103,7 +103,7 @@
 sqlGlobalProjectionCache ::
   (MonadIO m) =>
   ProjectionName ->
-  ProjectionCache () SequenceNumber JSONString (SqlPersistT m)
+  ProjectionCache () SequenceNumber (SqlPersistT m) JSONString
 sqlGlobalProjectionCache name =
   ProjectionCache
     { storeSnapshot = \() (SequenceNumber sn) state -> do
