summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-25 09:30:06 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-25 09:34:19 -0700
commit3e8066fa0d5783f4bddfa5f7d471f8af1cf8fa1a (patch)
tree6f37a49c9d6089117b0328fccd71c5f0488a4bcc
parent7d6a6d41a6c4b0ef5d743460ff051c6d5e3d664c (diff)
downloadgitlab-ci-3e8066fa0d5783f4bddfa5f7d471f8af1cf8fa1a.tar.gz
Fix schema.rb
-rw-r--r--db/schema.rb18
1 files changed, 6 insertions, 12 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 7ed96ff..a0b007c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -13,22 +13,25 @@
ActiveRecord::Schema.define(version: 20150324001227) do
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
create_table "builds", force: true do |t|
t.integer "project_id"
t.string "ref"
t.string "status"
t.datetime "finished_at"
- t.text "trace", limit: 2147483647
+ t.text "trace"
t.datetime "created_at"
t.datetime "updated_at"
t.string "sha"
t.datetime "started_at"
t.string "tmp_file"
t.string "before_sha"
- t.text "push_data", limit: 16777215
+ t.text "push_data"
t.integer "runner_id"
t.integer "commit_id"
- t.float "coverage", limit: 24
+ t.float "coverage"
t.text "commands"
t.integer "job_id"
end
@@ -54,15 +57,6 @@ ActiveRecord::Schema.define(version: 20150324001227) do
add_index "commits", ["project_id"], name: "index_commits_on_project_id", using: :btree
add_index "commits", ["sha"], name: "index_commits_on_sha", using: :btree
- create_table "events", force: true do |t|
- t.integer "project_id"
- t.integer "user_id"
- t.integer "is_admin"
- t.text "description"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
-
create_table "jobs", force: true do |t|
t.integer "project_id", null: false
t.text "commands"