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
3b0eeccc
Commit
3b0eeccc
authored
May 07, 2016
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
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"
}
...
...
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