diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-10-26 16:40:56 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-11-01 14:09:19 +0100 |
commit | 6d7bf439d6bad4fff6bba0fbdb91edf50974ad4b (patch) | |
tree | 3f5021fba0b21edc60d13820a5ac2057049dbfcd /spec/models | |
parent | 8e674510c582c75cab55d80a6253a6c9fb6addc2 (diff) | |
download | gitlab-ce-6d7bf439d6bad4fff6bba0fbdb91edf50974ad4b.tar.gz |
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 'spec/models')
0 files changed, 0 insertions, 0 deletions