Initial database setup including migrations

This commit is contained in:
Gary Kramlich
2021-12-09 05:37:41 -06:00
parent be3982e585
commit 78ab3d3804
10 changed files with 203 additions and 4 deletions

5
go.mod
View File

@@ -4,7 +4,11 @@ go 1.17
require (
github.com/alecthomas/kong v0.2.18
github.com/lib/pq v1.9.0
github.com/lopezator/migrator v0.3.0
github.com/mattn/go-sqlite3 v1.14.6
gopkg.in/yaml.v2 v2.4.0
maunium.net/go/maulogger/v2 v2.3.1
maunium.net/go/mautrix v0.9.27
)
@@ -15,5 +19,4 @@ require (
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d // indirect
maunium.net/go/maulogger/v2 v2.3.1 // indirect
)