Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorbry4n <bryann83@gmail.com>2014-07-29 08:04:59 +0400
committerbry4n <bryann83@gmail.com>2014-07-29 08:04:59 +0400
commit6720481ba62ecf7c5c1c7d6ebe928292f5cd024a (patch)
treeff0f0356ffaf107884250f957f80471e802f9c39 /db
parent31aba3c9017b7d45c3a094cc4aaeb83cd7a3753b (diff)
Add performance test for doc#man and refactor version_changes for performance
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb17
1 files changed, 7 insertions, 10 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 4d62523d..10359179 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -13,16 +13,13 @@
ActiveRecord::Schema.define(version: 20121211011752) do
- # These are extensions that must be enabled in order to support this database
- enable_extension "plpgsql"
-
create_table "books", force: true do |t|
t.string "code"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "books", ["code"], name: "index_books_on_code", using: :btree
+ add_index "books", ["code"], name: "index_books_on_code"
create_table "chapters", force: true do |t|
t.string "title"
@@ -33,7 +30,7 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.string "sha"
end
- add_index "chapters", ["book_id"], name: "index_chapters_on_book_id", using: :btree
+ add_index "chapters", ["book_id"], name: "index_chapters_on_book_id"
create_table "doc_files", force: true do |t|
t.string "name"
@@ -41,7 +38,7 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.datetime "updated_at"
end
- add_index "doc_files", ["name"], name: "index_doc_files_on_name", using: :btree
+ add_index "doc_files", ["name"], name: "index_doc_files_on_name"
create_table "doc_versions", force: true do |t|
t.integer "version_id"
@@ -59,7 +56,7 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.datetime "updated_at"
end
- add_index "docs", ["blob_sha"], name: "index_docs_on_blob_sha", using: :btree
+ add_index "docs", ["blob_sha"], name: "index_docs_on_blob_sha"
create_table "downloads", force: true do |t|
t.string "url"
@@ -94,8 +91,8 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.integer "number"
end
- add_index "sections", ["chapter_id"], name: "index_sections_on_chapter_id", using: :btree
- add_index "sections", ["slug"], name: "index_sections_on_slug", using: :btree
+ add_index "sections", ["chapter_id"], name: "index_sections_on_chapter_id"
+ add_index "sections", ["slug"], name: "index_sections_on_slug"
create_table "versions", force: true do |t|
t.string "name"
@@ -107,6 +104,6 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.float "vorder"
end
- add_index "versions", ["name"], name: "index_versions_on_name", using: :btree
+ add_index "versions", ["name"], name: "index_versions_on_name"
end