summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorWilliam Herry <WilliamHerryChina@Gmail.com>2014-09-09 22:56:42 +0800
committerWilliam Herry <WilliamHerryChina@Gmail.com>2014-09-10 05:46:32 +0800
commit2c03187fb6c3a89349faad781e90ebda476ad7ee (patch)
tree61c6d4db92cbf25a3ad33d6d11b4fb314ed4f632 /db
parentc7b7cb7368c0165d88392bbfd951f3c4314470ae (diff)
downloadgitlab-ci-2c03187fb6c3a89349faad781e90ebda476ad7ee.tar.gz
make gitlab_ci able to skip refs from build
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140909142245_add_skip_refs_to_projects.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140909142245_add_skip_refs_to_projects.rb b/db/migrate/20140909142245_add_skip_refs_to_projects.rb
new file mode 100644
index 0000000..2d7b1a2
--- /dev/null
+++ b/db/migrate/20140909142245_add_skip_refs_to_projects.rb
@@ -0,0 +1,5 @@
+class AddSkipRefsToProjects < ActiveRecord::Migration
+ def change
+ add_column :projects, :skip_refs, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index dcb3569..1a11e98 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: 20140506091853) do
+ActiveRecord::Schema.define(version: 20140909142245) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -53,6 +53,7 @@ ActiveRecord::Schema.define(version: 20140506091853) do
t.string "email_recipients", default: "", null: false
t.boolean "email_add_committer", default: true, null: false
t.boolean "email_only_broken_builds", default: true, null: false
+ t.string "skip_refs"
end
create_table "runner_projects", force: true do |t|