aboutsummaryrefslogtreecommitdiff
path: root/appservice/storage/sqlite3/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'appservice/storage/sqlite3/storage.go')
-rw-r--r--appservice/storage/sqlite3/storage.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/appservice/storage/sqlite3/storage.go b/appservice/storage/sqlite3/storage.go
index 51bfe710..9260c7fe 100644
--- a/appservice/storage/sqlite3/storage.go
+++ b/appservice/storage/sqlite3/storage.go
@@ -27,7 +27,6 @@ import (
// Database stores events intended to be later sent to application services
type Database struct {
- sqlutil.PartitionOffsetStatements
events eventsStatements
txnID txnStatements
db *sql.DB
@@ -45,9 +44,6 @@ func NewDatabase(dbProperties *config.DatabaseOptions) (*Database, error) {
if err = result.prepare(); err != nil {
return nil, err
}
- if err = result.PartitionOffsetStatements.Prepare(result.db, result.writer, "appservice"); err != nil {
- return nil, err
- }
return &result, nil
}