From 1eecc2688c5eef14b8834c8f58a46b2f8e6bc845 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Mon, 15 Mar 2021 16:15:14 +0100 Subject: bit of experimenting and tidying --- internal/db/postgres.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/db/postgres.go') 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") -- cgit v1.2.3