DEV: group_list site settings should store IDs instead of group names (#7860)

* DEV: group_list site settings should store IDs instead of group names

* Ship site setting to know when we should migrate group_list settings

* Migrate existing group_list site settings

* Bump migration timestamp and don't set null when migrating is not possible.
This commit is contained in:
Roman Rizzi
2019-07-19 15:17:58 -03:00
committed by GitHub
parent e47e0af123
commit eb26bee046
5 changed files with 35 additions and 7 deletions

View File

@ -743,5 +743,4 @@ module Discourse
def self.skip_post_deployment_migrations?
['1', 'true'].include?(ENV["SKIP_POST_DEPLOYMENT_MIGRATIONS"]&.to_s)
end
end