This commit is contained in:
Melody Becker 2024-09-13 09:18:05 +02:00
parent 07d98d1ef5
commit 7ec0ce5a45
2 changed files with 20 additions and 17 deletions

View file

@ -39,7 +39,7 @@ func storageFromEmptyDb(db *gorm.DB, cache *cache.Cache) (*Storage, error) {
// AutoMigrate ensures the db is in a state where all the structs given here
// have their own tables and relations setup. It also updates tables if necessary
err := db.AutoMigrate(
MediaFile{},
MediaMetadata{},
Account{},
RemoteServer{},
Note{},