add sqlite driver import back

Signed-off-by: 6543 <6543@obermui.de>
This commit is contained in:
6543 2020-12-18 19:10:06 +01:00
parent 30aea701f8
commit 0a333f4e45
No known key found for this signature in database
GPG key ID: A1CA74D27FD13271

View file

@ -22,6 +22,9 @@ import (
"strconv" "strconv"
"sync" "sync"
// Import the sqlite3 package
_ "github.com/mattn/go-sqlite3"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes" "github.com/matrix-org/dendrite/clientapi/auth/authtypes"
"github.com/matrix-org/dendrite/internal/sqlutil" "github.com/matrix-org/dendrite/internal/sqlutil"
"github.com/matrix-org/dendrite/setup/config" "github.com/matrix-org/dendrite/setup/config"
@ -29,7 +32,6 @@ import (
"github.com/matrix-org/dendrite/userapi/storage/accounts/sqlite3/deltas" "github.com/matrix-org/dendrite/userapi/storage/accounts/sqlite3/deltas"
"github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/gomatrixserverlib"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
// Import the sqlite3 database driver.
) )
// Database represents an account database // Database represents an account database