diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-12-10 07:32:46 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-12-11 10:39:39 +0100 |
commit | 4a32b07d9e16a7926c42e11a462bf76133617f0c (patch) | |
tree | 4d732fc30c8082b5631ba202c26ccd780bea6968 /db | |
parent | cd97dba2a9a26e83818f7e111bc0b0185a7ced8a (diff) | |
download | gitlab-ce-4a32b07d9e16a7926c42e11a462bf76133617f0c.tar.gz |
Add `runners_registration_token` to ApplicationSettings
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20151210072243_add_runners_registration_token_to_application_settings.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20151210072243_add_runners_registration_token_to_application_settings.rb b/db/migrate/20151210072243_add_runners_registration_token_to_application_settings.rb new file mode 100644 index 00000000000..00f88180e46 --- /dev/null +++ b/db/migrate/20151210072243_add_runners_registration_token_to_application_settings.rb @@ -0,0 +1,5 @@ +class AddRunnersRegistrationTokenToApplicationSettings < ActiveRecord::Migration + def change + add_column :application_settings, :runners_registration_token, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 94b87040d88..a3b649f3fd0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20151203162133) do +ActiveRecord::Schema.define(version: 20151210072243) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -49,6 +49,7 @@ ActiveRecord::Schema.define(version: 20151203162133) do t.string "admin_notification_email" t.boolean "shared_runners_enabled", default: true, null: false t.integer "max_artifacts_size", default: 100, null: false + t.string "runners_registration_token" end create_table "audit_events", force: :cascade do |t| |