summaryrefslogtreecommitdiff
path: root/internal/db/postgres.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
commit4e281f31b0e0c1410264a99687983f2d309cdd00 (patch)
tree13712ef6c55d7a71fa082fc01ed71013054ed217 /internal/db/postgres.go
parentgo mod tidy (diff)
downloadgotosocial-4e281f31b0e0c1410264a99687983f2d309cdd00.tar.xz
whole buncha stuff
Diffstat (limited to 'internal/db/postgres.go')
-rw-r--r--internal/db/postgres.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/db/postgres.go b/internal/db/postgres.go
index 96452d5ae..dae6b11e2 100644
--- a/internal/db/postgres.go
+++ b/internal/db/postgres.go
@@ -315,8 +315,9 @@ func (ps *postgresService) Stop(ctx context.Context) error {
func (ps *postgresService) CreateSchema(ctx context.Context) error {
models := []interface{}{
- (*gtsmodel.GTSAccount)(nil),
- (*gtsmodel.GTSStatus)(nil),
+ (*gtsmodel.Account)(nil),
+ (*gtsmodel.Status)(nil),
+ (*gtsmodel.User)(nil),
}
ps.log.Info("creating db schema")