Commit a3bae172d072a1cf5b7c022120cbe0a0e78041fc
1 parent
6bc2c9c5
Exists in
master
and in
29 other branches
db/schema.rb: update
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
db/schema.rb
... | ... | @@ -95,14 +95,15 @@ ActiveRecord::Schema.define(:version => 20140827191326) do |
95 | 95 | t.integer "license_id" |
96 | 96 | t.integer "image_id" |
97 | 97 | t.integer "position" |
98 | - t.integer "created_by_id" | |
99 | 98 | t.integer "spam_comments_count", :default => 0 |
100 | 99 | t.integer "author_id" |
100 | + t.integer "created_by_id" | |
101 | 101 | end |
102 | 102 | |
103 | 103 | add_index "article_versions", ["article_id"], :name => "index_article_versions_on_article_id" |
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 | + add_index "article_versions", ["published_at", "id"], :name => "index_article_versions_on_published_at_and_id" | |
106 | 107 | |
107 | 108 | create_table "articles", :force => true do |t| |
108 | 109 | t.string "name" |
... | ... | @@ -145,9 +146,9 @@ ActiveRecord::Schema.define(:version => 20140827191326) do |
145 | 146 | t.integer "license_id" |
146 | 147 | t.integer "image_id" |
147 | 148 | t.integer "position" |
148 | - t.integer "created_by_id" | |
149 | 149 | t.integer "spam_comments_count", :default => 0 |
150 | 150 | t.integer "author_id" |
151 | + t.integer "created_by_id" | |
151 | 152 | end |
152 | 153 | |
153 | 154 | add_index "articles", ["comments_count"], :name => "index_articles_on_comments_count" |
... | ... | @@ -158,6 +159,7 @@ ActiveRecord::Schema.define(:version => 20140827191326) do |
158 | 159 | add_index "articles", ["path", "profile_id"], :name => "index_articles_on_path_and_profile_id" |
159 | 160 | add_index "articles", ["path"], :name => "index_articles_on_path" |
160 | 161 | add_index "articles", ["profile_id"], :name => "index_articles_on_profile_id" |
162 | + add_index "articles", ["published_at", "id"], :name => "index_articles_on_published_at_and_id" | |
161 | 163 | add_index "articles", ["slug"], :name => "index_articles_on_slug" |
162 | 164 | add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id" |
163 | 165 | add_index "articles", ["type", "parent_id"], :name => "index_articles_on_type_and_parent_id" | ... | ... |