Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-05-09 15:22:13 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-05-09 15:22:13 +0300
commite960931828b85205f2355c6040ec48ca14740e48 (patch)
treebdb5acefbde0f8d16bea556f427790114d61a9da /db/migrate
parent58086f822f181f49c309458d8357f96236d6cf4d (diff)
parent89ec120f61f8becb79403e7ad0a26fc8b942b57b (diff)
Merge branch '46010-runner-type-not-null' into 'master'
Set `ci_runners.runner_type` not null See merge request gitlab-org/gitlab-ce!18825
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180508135515_set_runner_type_not_null.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20180508135515_set_runner_type_not_null.rb b/db/migrate/20180508135515_set_runner_type_not_null.rb
new file mode 100644
index 00000000000..dd043ec7179
--- /dev/null
+++ b/db/migrate/20180508135515_set_runner_type_not_null.rb
@@ -0,0 +1,9 @@
+class SetRunnerTypeNotNull < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ change_column_null(:ci_runners, :runner_type, false)
+ end
+end