• Yorick Peterse's avatar
    Enforce a default snippet access level in the DB · 6d7bf439
    Yorick Peterse authored
    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.
    6d7bf439
schema.rb 120 KB