whole buncha stuff
This commit is contained in:
@ -25,7 +25,6 @@ import (
|
||||
|
||||
"github.com/go-fed/activity/pub"
|
||||
"github.com/gotosocial/gotosocial/internal/config"
|
||||
"github.com/gotosocial/oauth2/v4"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@ -40,11 +39,6 @@ type DB interface {
|
||||
*/
|
||||
pub.Database
|
||||
|
||||
/*
|
||||
OAUTH2 DATABASE FUNCTIONS
|
||||
*/
|
||||
TokenStore() oauth2.TokenStore
|
||||
|
||||
/*
|
||||
ANY ADDITIONAL DESIRED FUNCTIONS
|
||||
*/
|
||||
|
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user