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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
3b0eeccc
Commit
3b0eeccc
authored
8 years ago
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add not null constraint to run untagged runner option
parent
b8cf2a34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
No files found.
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
View file @
3b0eeccc
...
...
@@ -6,6 +6,6 @@ class AddRunUntaggedToCiRunner < ActiveRecord::Migration
# caused by the default value.
#
def
change
add_column
:ci_runners
,
:run_untagged
,
:boolean
,
default:
true
add_column
:ci_runners
,
:run_untagged
,
:boolean
,
default:
true
,
null:
false
end
end
This diff is collapsed.
Click to expand it.
db/schema.rb
View file @
3b0eeccc
...
...
@@ -269,7 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do
t
.
string
"revision"
t
.
string
"platform"
t
.
string
"architecture"
t
.
boolean
"run_untagged"
,
default:
true
t
.
boolean
"run_untagged"
,
default:
true
,
null:
false
end
add_index
"ci_runners"
,
[
"description"
],
name:
"index_ci_runners_on_description_trigram"
,
using: :gin
,
opclasses:
{
"description"
=>
"gin_trgm_ops"
}
...
...
This diff is collapsed.
Click to expand it.
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