diff options
author | 2021-03-15 16:15:14 +0100 | |
---|---|---|
committer | 2021-03-15 16:15:14 +0100 | |
commit | 1eecc2688c5eef14b8834c8f58a46b2f8e6bc845 (patch) | |
tree | 9e9f34745028cb0ef2330b421fef57e68db8d4d4 /internal/db/postgres.go | |
parent | move mastotypes (diff) | |
download | gotosocial-1eecc2688c5eef14b8834c8f58a46b2f8e6bc845.tar.xz |
bit of experimenting and tidying
Diffstat (limited to 'internal/db/postgres.go')
-rw-r--r-- | internal/db/postgres.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/db/postgres.go b/internal/db/postgres.go index 61f894a86..0453b207b 100644 --- a/internal/db/postgres.go +++ b/internal/db/postgres.go @@ -35,7 +35,7 @@ import ( "github.com/go-pg/pg/v10" "github.com/go-pg/pg/v10/orm" "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/model" + "github.com/gotosocial/gotosocial/internal/gtsmodel" "github.com/gotosocial/gotosocial/internal/oauth" "github.com/sirupsen/logrus" ) @@ -316,8 +316,8 @@ func (ps *postgresService) Stop(ctx context.Context) error { func (ps *postgresService) CreateSchema(ctx context.Context) error { models := []interface{}{ - (*model.Account)(nil), - (*model.Note)(nil), + (*gtsmodel.GTSAccount)(nil), + (*gtsmodel.GTSStatus)(nil), } ps.log.Info("creating db schema") |