Commit a1b5260e authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'update-project-hook-limits-100' into 'master'

Update project hooks limits to 100 for all plans

Closes gitlab-com/gl-infra/production#1521

See merge request gitlab-org/gitlab!22604
parents c05cf762 2c0dd711
---
title: Update project hooks limits to 100 for all plans
merge_request: 22604
author:
type: other
# frozen_string_literal: true
class UpdateProjectHooksLimit < ActiveRecord::Migration[5.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
return unless Gitlab.com?
create_or_update_plan_limit('project_hooks', 'free', 100)
create_or_update_plan_limit('project_hooks', 'bronze', 100)
create_or_update_plan_limit('project_hooks', 'silver', 100)
end
def down
return unless Gitlab.com?
create_or_update_plan_limit('project_hooks', 'free', 10)
create_or_update_plan_limit('project_hooks', 'bronze', 20)
create_or_update_plan_limit('project_hooks', 'silver', 30)
end
end
......@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_01_06_085831) do
ActiveRecord::Schema.define(version: 2020_01_08_100603) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_trgm"
......
......@@ -56,9 +56,9 @@ tier](https://about.gitlab.com/pricing/), as shown in the following table:
| Tier | Number of webhooks per project |
|----------|--------------------------------|
| Free | 10 |
| Bronze | 20 |
| Silver | 30 |
| Free | 100 |
| Bronze | 100 |
| Silver | 100 |
| Gold | 100 |
## Use-cases
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment