diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-06-17 09:02:40 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-06-17 09:02:40 +0000 |
commit | 5498a723fbe6b9d91cd5352104f8953395983c50 (patch) | |
tree | 2974823288b678d12e9b69f37d24550e8c1ca45a /db | |
parent | 311d6ea22f4b221e0740eb3c56e271806b5cc57c (diff) | |
parent | 40830fee8bcdfd465fb87fada28ef049a080acf2 (diff) | |
download | gitlab-ci-5498a723fbe6b9d91cd5352104f8953395983c50.tar.gz |
Merge branch 'better_yaml_validation' into 'master'
Better yaml validation
See merge request !160
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150616001155_add_errors_to_commit.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/db/migrate/20150616001155_add_errors_to_commit.rb b/db/migrate/20150616001155_add_errors_to_commit.rb new file mode 100644 index 0000000..fe9f7b9 --- /dev/null +++ b/db/migrate/20150616001155_add_errors_to_commit.rb @@ -0,0 +1,5 @@ +class AddErrorsToCommit < ActiveRecord::Migration + def change + add_column :commits, :yaml_errors, :text + end +end
\ No newline at end of file diff --git a/db/schema.rb b/db/schema.rb index 9e1a0df..2046dcc 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: 20150605002131) do +ActiveRecord::Schema.define(version: 20150616001155) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -45,7 +45,8 @@ ActiveRecord::Schema.define(version: 20150605002131) do t.text "push_data" t.datetime "created_at" t.datetime "updated_at" - t.boolean "tag", default: false + t.boolean "tag", default: false + t.text "yaml_errors" end add_index "commits", ["project_id", "sha"], name: "index_commits_on_project_id_and_sha", using: :btree |