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
path: root/db
diff options
context:
space:
mode:
authorBinsztock Rémy <remy.binsztock@tech-angels.com>2014-02-19 03:09:16 +0400
committerOlivier Gonzalez <olivier.gonzalez@tech-angels.com>2014-02-21 19:25:22 +0400
commite7382de1084f75bc8cfb2a5135412fdbd81f3b25 (patch)
tree6ab0a8105cd711eb31118262a3238a47088a2849 /db
parent490f99d45e0f610e88505ff0fb2dc83a557e22c5 (diff)
Add Gemnasium Service for Gitlab
Conflicts: db/schema.rb
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140214102325_add_api_key_to_services.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140214102325_add_api_key_to_services.rb b/db/migrate/20140214102325_add_api_key_to_services.rb
new file mode 100644
index 00000000000..30eeca2c1f6
--- /dev/null
+++ b/db/migrate/20140214102325_add_api_key_to_services.rb
@@ -0,0 +1,5 @@
+class AddApiKeyToServices < ActiveRecord::Migration
+ def change
+ add_column :services, :api_key, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 65f79fb7e05..4f6d942eeb3 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: 20140209025651) do
+ActiveRecord::Schema.define(version: 20140214102325) do
create_table "broadcast_messages", force: true do |t|
t.text "message", null: false
@@ -240,6 +240,7 @@ ActiveRecord::Schema.define(version: 20140209025651) do
t.string "subdomain"
t.string "room"
t.text "recipients"
+ t.string "api_key"
end
add_index "services", ["project_id"], name: "index_services_on_project_id", using: :btree