Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b4fcaa6c
Commit
b4fcaa6c
authored
Sep 28, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pipeline limits to plans table in the database
parent
7f9d234b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
db/migrate/20170928081016_add_pipeline_quotas_to_plan.rb
db/migrate/20170928081016_add_pipeline_quotas_to_plan.rb
+10
-0
db/schema.rb
db/schema.rb
+3
-1
No files found.
db/migrate/20170928081016_add_pipeline_quotas_to_plan.rb
0 → 100644
View file @
b4fcaa6c
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
db/schema.rb
View file @
b4fcaa6c
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
2017092
1115009
)
do
ActiveRecord
::
Schema
.
define
(
version:
2017092
8081016
)
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment