mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 20:22:24 -05:00
First db migration (#297)
* store first db schema * md linting *screams*
This commit is contained in:
parent
09ef9e639e
commit
aee1932bd4
28 changed files with 1114 additions and 39 deletions
|
|
@ -58,10 +58,6 @@ var Start cliactions.GTSAction = func(ctx context.Context, c *config.Config) err
|
|||
return fmt.Errorf("error creating dbservice: %s", err)
|
||||
}
|
||||
|
||||
if err := dbService.CreateAllTables(ctx); err != nil {
|
||||
return fmt.Errorf("error creating database tables: %s", err)
|
||||
}
|
||||
|
||||
if err := dbService.CreateInstanceAccount(ctx); err != nil {
|
||||
return fmt.Errorf("error creating instance account: %s", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue