Skip to content

Commit

Permalink
line break
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 21, 2023
1 parent 8230568 commit 1e62e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/internal/database/postgres/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var (

// Upgrade performs an upgrade of the database in case a newer version of the database is detected.
//
// The function aborts the update without returning an error as long as the old data stays unmodified and only prints out the error to console. This behavior is intended to reduce unnecessary downtime caused by misconfigurations.
// The function aborts the update without returning an error as long as the old data stays unmodified and only prints out the error to console.
// This behavior is intended to reduce unnecessary downtime caused by misconfigurations.
// If any preconditions are not met, no error is returned, a info log entry is created with the reason.
// Once the upgrade was made, any error condition will require to recover the database from backup.
func (db *Postgres) Upgrade() error {
Expand Down

0 comments on commit 1e62e98

Please sign in to comment.