Commit 7b76f317b82439a686b16723859631c9722c5371
1 parent
832f2687
Exists in
master
and in
29 other branches
Update schema
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
db/schema.rb
| ... | ... | @@ -98,6 +98,8 @@ ActiveRecord::Schema.define(:version => 20140709224246) do |
| 98 | 98 | end |
| 99 | 99 | |
| 100 | 100 | add_index "article_versions", ["article_id"], :name => "index_article_versions_on_article_id" |
| 101 | + add_index "article_versions", ["path", "profile_id"], :name => "index_article_versions_on_path_and_profile_id" | |
| 102 | + add_index "article_versions", ["path"], :name => "index_article_versions_on_path" | |
| 101 | 103 | |
| 102 | 104 | create_table "articles", :force => true do |t| |
| 103 | 105 | t.string "name" |
| ... | ... | @@ -149,9 +151,14 @@ ActiveRecord::Schema.define(:version => 20140709224246) do |
| 149 | 151 | add_index "articles", ["hits"], :name => "index_articles_on_hits" |
| 150 | 152 | add_index "articles", ["name"], :name => "index_articles_on_name" |
| 151 | 153 | add_index "articles", ["parent_id"], :name => "index_articles_on_parent_id" |
| 154 | + add_index "articles", ["path", "profile_id"], :name => "index_articles_on_path_and_profile_id" | |
| 155 | + add_index "articles", ["path"], :name => "index_articles_on_path" | |
| 152 | 156 | add_index "articles", ["profile_id"], :name => "index_articles_on_profile_id" |
| 153 | 157 | add_index "articles", ["slug"], :name => "index_articles_on_slug" |
| 154 | 158 | add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id" |
| 159 | + add_index "articles", ["type", "parent_id"], :name => "index_articles_on_type_and_parent_id" | |
| 160 | + add_index "articles", ["type", "profile_id"], :name => "index_articles_on_type_and_profile_id" | |
| 161 | + add_index "articles", ["type"], :name => "index_articles_on_type" | |
| 155 | 162 | |
| 156 | 163 | create_table "articles_categories", :id => false, :force => true do |t| |
| 157 | 164 | t.integer "article_id" |
| ... | ... | @@ -272,6 +279,11 @@ ActiveRecord::Schema.define(:version => 20140709224246) do |
| 272 | 279 | t.string "google_maps_key" |
| 273 | 280 | end |
| 274 | 281 | |
| 282 | + add_index "domains", ["is_default"], :name => "index_domains_on_is_default" | |
| 283 | + add_index "domains", ["name"], :name => "index_domains_on_name" | |
| 284 | + add_index "domains", ["owner_id", "owner_type", "is_default"], :name => "index_domains_on_owner_id_and_owner_type_and_is_default" | |
| 285 | + add_index "domains", ["owner_id", "owner_type"], :name => "index_domains_on_owner_id_and_owner_type" | |
| 286 | + | |
| 275 | 287 | create_table "environments", :force => true do |t| |
| 276 | 288 | t.string "name" |
| 277 | 289 | t.string "contact_email" | ... | ... |