Commit b4fcaa6c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add pipeline limits to plans table in the database

parent 7f9d234b
class AddPipelineQuotasToPlan < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :plans, :active_pipelines_limit, :integer
add_column :plans, :pipeline_size_limit, :integer
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170921115009) do
ActiveRecord::Schema.define(version: 20170928081016) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -1365,6 +1365,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t.datetime_with_timezone "updated_at", null: false
t.string "name"
t.string "title"
t.integer "active_pipelines_limit"
t.integer "pipeline_size_limit"
end
add_index "plans", ["name"], name: "index_plans_on_name", using: :btree
......
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