Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-10-26 17:40:56 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2018-11-01 16:09:19 +0300
commit6d7bf439d6bad4fff6bba0fbdb91edf50974ad4b (patch)
tree3f5021fba0b21edc60d13820a5ac2057049dbfcd /app/finders/snippets_finder.rb
parent8e674510c582c75cab55d80a6253a6c9fb6addc2 (diff)
Enforce a default snippet access level in the DB
This adds a database migration that ensures that project_features.snippets_access_level defaults to a value of 20 (= ProjectFeature::ENABLED), instead of NULL. This allows us to simplify some of the queries used for obtaining snippets, as we no longer need to handle cases where this column is NULL.
Diffstat (limited to 'app/finders/snippets_finder.rb')
0 files changed, 0 insertions, 0 deletions