Skip to content

Commit

Permalink
stores: fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Dec 20, 2023
1 parent a9e1dd6 commit 3f04054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ func performMigration00037_objectUserMetadata(txn *gorm.DB, logger *zap.SugaredL
func performMigration00038_multipartUserMetadata(txn *gorm.DB, logger *zap.SugaredLogger) error {
logger.Info("performing migration 00038_multipartUserMetadata")

if err := txn.Table(dbObjectUserMetadata{}.TableName()).Migrator().AutoMigrate(&struct {
if err := txn.Table(dbMultipartMetadata{}.TableName()).Migrator().AutoMigrate(&struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time

Expand Down

0 comments on commit 3f04054

Please sign in to comment.