summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorluu <luuduong@gmail.com>2014-11-29 15:49:32 +0000
committerluu <luuduong@gmail.com>2014-11-29 15:49:32 +0000
commita1ce7c53db0db2adae25764f5705367407140a8a (patch)
treea4d2d48ec448ebc7209cdfa5cabff74ef3e3694d /db
parent4d6013b81310d0daf0a718d52639a46a667cd171 (diff)
Add missing index.
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 67af9bf6..684dd8b8 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -157,6 +157,8 @@ ActiveRecord::Schema.define(version: 20141102040612) do
t.integer "taggings_count", default: 0
end
+ add_index "tags", ["name"], name: "index_tags_on_name", unique: true, using: :btree
+
create_table "tutorials", force: true do |t|
t.string "heading"
t.text "description"