summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-01 13:46:55 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-01 13:46:55 +0200
commit8a6efc139d77dda1b9e56d412ea2e70c002b426e (patch)
tree296b52ef08e9568733c5913efd2b27ff584092a5 /db
parentf005f04ec482d27ccddbfeb116280678cfc41219 (diff)
downloadgitlab-ci-8a6efc139d77dda1b9e56d412ea2e70c002b426e.tar.gz
db schema for postgres
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb
index ae44eea..ad34ec0 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -21,17 +21,17 @@ ActiveRecord::Schema.define(version: 20141201153755) do
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"
+ t.integer "commit_id"
t.text "commands"
t.integer "job_id"
end
@@ -55,7 +55,7 @@ ActiveRecord::Schema.define(version: 20141201153755) do
add_index "commits", ["project_id", "sha"], name: "index_commits_on_project_id_and_sha", using: :btree
add_index "commits", ["project_id"], name: "index_commits_on_project_id", using: :btree
- add_index "commits", ["sha"], name: "index_commits_on_sha", length: {"sha"=>6}, using: :btree
+ add_index "commits", ["sha"], name: "index_commits_on_sha", using: :btree
create_table "jobs", force: true do |t|
t.integer "project_id", null: false