Skip to content

Commit

Permalink
[#1214] Apply 1 suggestion to 1 file
Browse files Browse the repository at this point in the history
  • Loading branch information
msiodelski authored and fivitti committed Jun 5, 2024
1 parent 4d3983e commit d1483a4
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package dbmigs

import "github.com/go-pg/migrations/v8"

// The migration deletes the unused interval from the settings table. The
// interval was used for the Prometheus metrics puller which has been removed.
// It seems to be safe to keep the interval in the settings table as it is not
// used anywhere else. But we are afraid that it may start be problematic in
// The migration deletes the unused interval from the setting table. The
// interval had been used for the Prometheus metrics puller which was removed.
// It seems to be safe to keep the interval in the setting table as it is not
// used anywhere else. But, we are afraid that it may start to be problematic in
// the future if we refactor the setting table handling. It may produce some
// hard to find bugs affecting only the long term running systems.
// hard-to-find bugs affecting only the long term running systems.
func init() {
migrations.MustRegisterTx(func(db migrations.DB) error {
_, err := db.Exec(`
Expand Down

0 comments on commit d1483a4

Please sign in to comment.