Skip to content

Commit

Permalink
Merge pull request #67 from spinnaker/migrate-platform-health
Browse files Browse the repository at this point in the history
migrate platformHealth* flags to booleans
  • Loading branch information
Matt Duftler committed Dec 3, 2015
2 parents 0cd3f63 + f38ccd9 commit 00e390a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ class CassandraApplicationDAO implements ApplicationDAO, ApplicationListener<Con
runQuery("ALTER TABLE application ADD details_json varchar")
runQuery("ALTER TABLE application ADD version int")
all().each { Application application ->
application.platformHealthOnly = new Boolean(application.details().platformHealthOnly)
application.platformHealthOnlyShowOverride = new Boolean(application.details().platformHealthOnlyShowOverride)
update(application.name, application)
}
}
Expand Down

0 comments on commit 00e390a

Please sign in to comment.