diff --git a/refurb.cabal b/refurb.cabal
--- a/refurb.cabal
+++ b/refurb.cabal
@@ -3,11 +3,9 @@
 -- This file has been generated from package.yaml by hpack version 0.34.7.
 --
 -- see: https://github.com/sol/hpack
---
--- hash: cb0819af9af4c8ead0a15b8f50705359b3ab805ca95ecba0c569adb4be9a019b
 
 name:           refurb
-version:        0.3.0.1
+version:        0.3.0.2
 synopsis:       Tools for maintaining a database
 description:    Tools for maintaining a database
 category:       Database
@@ -19,6 +17,18 @@
 build-type:     Simple
 
 library
+  exposed-modules:
+      Refurb
+      Refurb.Cli
+      Refurb.MigrationUtils
+      Refurb.Run.Backup
+      Refurb.Run.Info
+      Refurb.Run.Internal
+      Refurb.Run.Migrate
+      Refurb.Store
+      Refurb.Types
+  other-modules:
+      Paths_refurb
   hs-source-dirs:
       src
   ghc-options: -Wall -O2
@@ -36,7 +46,7 @@
     , monad-control
     , monad-logger
     , old-locale
-    , opaleye
+    , opaleye ==0.9.2.*
     , optparse-applicative
     , postgresql-simple
     , process
@@ -48,23 +58,14 @@
     , thyme
     , transformers-base
     , vector-space
-  exposed-modules:
-      Refurb
-      Refurb.Cli
-      Refurb.MigrationUtils
-      Refurb.Run.Backup
-      Refurb.Run.Info
-      Refurb.Run.Internal
-      Refurb.Run.Migrate
-      Refurb.Store
-      Refurb.Types
-  other-modules:
-      Paths_refurb
   default-language: Haskell2010
 
 test-suite refurb-test
   type: exitcode-stdio-1.0
   main-is: Main.hs
+  other-modules:
+      MigrationUtilsSpec
+      Paths_refurb
   hs-source-dirs:
       test
   ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N -fno-warn-orphans
@@ -83,7 +84,7 @@
     , monad-control
     , monad-logger
     , old-locale
-    , opaleye
+    , opaleye ==0.9.2.*
     , optparse-applicative
     , postgresql-simple
     , process
@@ -96,7 +97,4 @@
     , thyme
     , transformers-base
     , vector-space
-  other-modules:
-      MigrationUtilsSpec
-      Paths_refurb
   default-language: Haskell2010
