diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2015-06-16 15:12:36 +0300 |
|---|---|---|
| committer | Valery Sizov <vsv2711@gmail.com> | 2015-06-17 11:35:39 +0300 |
| commit | 40830fee8bcdfd465fb87fada28ef049a080acf2 (patch) | |
| tree | de9b0e5351cbf0f05f04155e9ca97afa984dc456 /db | |
| parent | 58dcfe0e3d3bb7b12e3f7aa4aed49bd0cc97c912 (diff) | |
| download | gitlab-ci-40830fee8bcdfd465fb87fada28ef049a080acf2.tar.gz | |
better yaml validation
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 |
