Skip to content

Commit

Permalink
PMM-12375 add a column to store the version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Aug 28, 2023
1 parent 57ec9aa commit c45cc58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions managed/models/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,10 @@ var databaseSchema = [][]string{
`ALTER TABLE agents
ALTER COLUMN comments_parsing_disabled DROP DEFAULT`,
},
85: {
`ALTER TABLE services
ADD COLUMN version VARCHAR`,
},
}

// ^^^ Avoid default values in schema definition. ^^^
Expand Down

0 comments on commit c45cc58

Please sign in to comment.