We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1d07b commit ef77a32Copy full SHA for ef77a32
api/pkg/di/container.go
@@ -356,6 +356,10 @@ ALTER TABLE discords ADD CONSTRAINT IF NOT EXISTS uni_discords_server_id CHECK (
356
container.logger.Fatal(stacktrace.Propagate(err, fmt.Sprintf("cannot migrate %T", &entities.Integration3CX{})))
357
}
358
359
+ if err = db.AutoMigrate(&entities.PhoneAPIKey{}); err != nil {
360
+ container.logger.Fatal(stacktrace.Propagate(err, fmt.Sprintf("cannot migrate %T", &entities.PhoneAPIKey{})))
361
+ }
362
+
363
return container.db
364
365
0 commit comments