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:
authorDylan Griffith <dyl.griffith@gmail.com>2018-02-22 09:03:00 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-02-28 03:54:37 +0300
commitb5a5fdf0e3b97622789db444bf0bf697e78dbb47 (patch)
treecd91aeed35c2d88f916ba63f82f5f49aed8c8c3d /db/migrate/20180222043024_add_ip_address_to_runner.rb
parent0be4a77d0012613f960c4177f53101c46de2899c (diff)
Persist runner IP address on contact (#43489)
Diffstat (limited to 'db/migrate/20180222043024_add_ip_address_to_runner.rb')
-rw-r--r--db/migrate/20180222043024_add_ip_address_to_runner.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20180222043024_add_ip_address_to_runner.rb b/db/migrate/20180222043024_add_ip_address_to_runner.rb
new file mode 100644
index 00000000000..bf00560b5a8
--- /dev/null
+++ b/db/migrate/20180222043024_add_ip_address_to_runner.rb
@@ -0,0 +1,9 @@
+class AddIpAddressToRunner < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :ci_runners, :ip_address, :string
+ end
+end