Commit 2c0dd711 authored by Arturo Herrero's avatar Arturo Herrero

Update project hooks limits to 100 for all plans

We introduced project hook limits of 10/20/30/100 for
Free/Bronze/Silver/Gold tiers. We like to increase the limits to 100 for
all plans.
parent 26c6bdca
---
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