mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 04:02:24 -06:00
tiny bit of moving around
This commit is contained in:
parent
59963090cb
commit
ac9c6b6251
7 changed files with 158 additions and 105 deletions
|
|
@ -29,8 +29,8 @@ import (
|
|||
// Initialize will initialize the database given in the config for use with GoToSocial
|
||||
var Initialize action.GTSAction = func(ctx context.Context, c *config.Config, log *logrus.Logger) error {
|
||||
db, err := New(ctx, c, log)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return db.CreateSchema(ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return db.CreateSchema(ctx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue