diff --git a/Database/Beam/Sqlite/Syntax.hs b/Database/Beam/Sqlite/Syntax.hs
--- a/Database/Beam/Sqlite/Syntax.hs
+++ b/Database/Beam/Sqlite/Syntax.hs
@@ -859,10 +859,12 @@
 instance IsSql92DeleteSyntax SqliteDeleteSyntax where
   type Sql92DeleteExpressionSyntax SqliteDeleteSyntax = SqliteExpressionSyntax
 
-  deleteStmt tbl where_ =
+  deleteStmt tbl Nothing where_ =
     SqliteDeleteSyntax $
     emit "DELETE FROM " <> quotedIdentifier tbl <>
     maybe mempty (\where_ -> emit " WHERE " <> fromSqliteExpression where_) where_
+  deleteStmt _ (Just _) _ =
+      error "beam-sqlite: invariant failed: DELETE must not have a table alias"
 
 spaces, parens :: SqliteSyntax -> SqliteSyntax
 spaces a = emit " " <> a <> emit " "
diff --git a/beam-sqlite.cabal b/beam-sqlite.cabal
--- a/beam-sqlite.cabal
+++ b/beam-sqlite.cabal
@@ -1,6 +1,6 @@
 
 name:                beam-sqlite
-version:             0.3.2.1
+version:             0.3.2.2
 synopsis:            Beam driver for SQLite
 description:         Beam driver for the <https://sqlite.org/ SQLite> embedded database.
                      See <http://tathougies.github.io/beam/user-guide/backends/beam-sqlite/ here>
@@ -38,7 +38,7 @@
                       free          >=4.12 && <5.1,
                       scientific    >=0.3  && <0.4,
                       network-uri   >=2.6  && <2.7,
-                      aeson         >=0.11 && <1.4,
+                      aeson         >=0.11 && <1.5,
                       attoparsec    >=0.13 && <0.14
   default-language:   Haskell2010
   default-extensions: ScopedTypeVariables, OverloadedStrings, MultiParamTypeClasses, RankNTypes, FlexibleInstances,
