Commit 9cd867163dc935789dcc560d930d7f410098c504

Authored by Braulio Bhavamitra
1 parent cb068077

Update schema.rb

Showing 1 changed file with 12 additions and 0 deletions   Show diff stats
db/schema.rb
... ... @@ -104,6 +104,7 @@ ActiveRecord::Schema.define(:version => 20150122165042) do
104 104 add_index "article_versions", ["path", "profile_id"], :name => "index_article_versions_on_path_and_profile_id"
105 105 add_index "article_versions", ["path"], :name => "index_article_versions_on_path"
106 106 add_index "article_versions", ["published_at", "id"], :name => "index_article_versions_on_published_at_and_id"
  107 + add_index "article_versions", ["parent_id"], :name => "index_article_versions_on_parent_id"
107 108  
108 109 create_table "articles", :force => true do |t|
109 110 t.string "name"
... ... @@ -220,6 +221,8 @@ ActiveRecord::Schema.define(:version => 20150122165042) do
220 221 t.text "ancestry"
221 222 end
222 223  
  224 + add_index "categories", ["parent_id"], :name => "index_categories_on_parent_id"
  225 +
223 226 create_table "categories_profiles", :id => false, :force => true do |t|
224 227 t.integer "profile_id"
225 228 t.integer "category_id"
... ... @@ -252,6 +255,7 @@ ActiveRecord::Schema.define(:version => 20150122165042) do
252 255 t.string "source_type"
253 256 t.string "user_agent"
254 257 t.string "referrer"
  258 + t.integer "group_id"
255 259 end
256 260  
257 261 add_index "comments", ["source_id", "spam"], :name => "index_comments_on_source_id_and_spam"
... ... @@ -358,6 +362,8 @@ ActiveRecord::Schema.define(:version => 20150122165042) do
358 362 t.boolean "thumbnails_processed", :default => false
359 363 end
360 364  
  365 + add_index "images", ["parent_id"], :name => "index_images_on_parent_id"
  366 +
361 367 create_table "inputs", :force => true do |t|
362 368 t.integer "product_id", :null => false
363 369 t.integer "product_category_id", :null => false
... ... @@ -601,7 +607,11 @@ ActiveRecord::Schema.define(:version => 20150122165042) do
601 607 t.boolean "pending", :default => false
602 608 end
603 609  
  610 +<<<<<<< HEAD
604 611 add_index "tags", ["name"], :name => "index_tags_on_name", :unique => true
  612 +=======
  613 + add_index "tags", ["parent_id"], :name => "index_tags_on_parent_id"
  614 +>>>>>>> Update schema.rb
605 615  
606 616 create_table "tasks", :force => true do |t|
607 617 t.text "data"
... ... @@ -641,6 +651,8 @@ ActiveRecord::Schema.define(:version =&gt; 20150122165042) do
641 651 t.string "thumbnail"
642 652 end
643 653  
  654 + add_index "thumbnails", ["parent_id"], :name => "index_thumbnails_on_parent_id"
  655 +
644 656 create_table "units", :force => true do |t|
645 657 t.string "singular", :null => false
646 658 t.string "plural", :null => false
... ...