diff options
author | Valery Sizov <valery@gitlab.com> | 2015-01-22 22:41:40 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-01-22 22:41:40 +0000 |
commit | 5496712fd7322ae6a3ef9a3e7b9f40b1cc210e4f (patch) | |
tree | 352b01c1d2dbaf6136d9f7df3d2288d2caf29627 /db | |
parent | f0cf81c501e6393c660e49a24f136c7c7548fb7b (diff) | |
parent | 1a1f4eded6e9c65435f76aeb1e872664895c2d02 (diff) | |
download | gitlab-ci-5496712fd7322ae6a3ef9a3e7b9f40b1cc210e4f.tar.gz |
Merge branch 'topic/settings' into 'master'
Settings enhancements with services transplantation
As discussed here: https://gitlab.com/gitlab-org/gitlab-ci/issues/68 and here https://gitlab.com/gitlab-org/gitlab-ci/issues/63 this is implementation of Services backported from GitLab. As proof of concept Slack Service is implemented. What is missing here is the specs for services and some design choices described in first issue.
See merge request !14
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20141204133321_create_service.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20141204133321_create_service.rb b/db/migrate/20141204133321_create_service.rb new file mode 100644 index 0000000..d87115c --- /dev/null +++ b/db/migrate/20141204133321_create_service.rb @@ -0,0 +1,15 @@ +class CreateService < ActiveRecord::Migration + def change + create_table :services, force: true do |t| + t.string :type + t.string :title + t.integer :project_id, null: false + t.datetime :created_at + t.datetime :updated_at + t.boolean :active, default: false, null: false + t.text :properties + end + + add_index :services, [:project_id], name: :index_services_on_project_id, using: :btree + end +end |