Commit 42538dc2f9d2150d9ab8307bcf83fb750ec627f5

Authored by Antonio Terceiro
1 parent 0c970b18

ActionItem1210: updating schema.rb file

Showing 1 changed file with 13 additions and 12 deletions   Show diff stats
db/schema.rb
... ... @@ -88,15 +88,16 @@ ActiveRecord::Schema.define(:version => 73) do
88 88 t.boolean "virtual", :default => false
89 89 end
90 90  
91   - add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id"
92 91 add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id"
  92 + add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id"
93 93  
94 94 create_table "blocks", :force => true do |t|
95   - t.string "title"
96   - t.integer "box_id"
97   - t.string "type"
98   - t.text "settings"
99   - t.integer "position"
  95 + t.string "title"
  96 + t.integer "box_id"
  97 + t.string "type"
  98 + t.text "settings"
  99 + t.integer "position"
  100 + t.datetime "last_updated"
100 101 end
101 102  
102 103 add_index "blocks", ["box_id"], :name => "index_blocks_on_box_id"
... ... @@ -129,8 +130,8 @@ ActiveRecord::Schema.define(:version => 73) do
129 130 t.boolean "virtual", :default => false
130 131 end
131 132  
132   - add_index "categories_profiles", ["profile_id"], :name => "index_categories_profiles_on_profile_id"
133 133 add_index "categories_profiles", ["category_id"], :name => "index_categories_profiles_on_category_id"
  134 + add_index "categories_profiles", ["profile_id"], :name => "index_categories_profiles_on_profile_id"
134 135  
135 136 create_table "comments", :force => true do |t|
136 137 t.string "title"
... ... @@ -171,13 +172,13 @@ ActiveRecord::Schema.define(:version => 73) do
171 172  
172 173 create_table "external_feeds", :force => true do |t|
173 174 t.string "feed_title"
174   - t.date "fetched_at"
175 175 t.string "address"
176 176 t.integer "blog_id", :null => false
177 177 t.boolean "enabled", :default => true, :null => false
178 178 t.boolean "only_once", :default => true, :null => false
179 179 t.datetime "created_at"
180 180 t.datetime "updated_at"
  181 + t.datetime "fetched_at"
181 182 end
182 183  
183 184 create_table "favorite_enteprises_people", :id => false, :force => true do |t|
... ... @@ -212,8 +213,8 @@ ActiveRecord::Schema.define(:version => 73) do
212 213 t.datetime "updated_at"
213 214 end
214 215  
215   - add_index "product_categorizations", ["product_id"], :name => "index_product_categorizations_on_product_id"
216 216 add_index "product_categorizations", ["category_id"], :name => "index_product_categorizations_on_category_id"
  217 + add_index "product_categorizations", ["product_id"], :name => "index_product_categorizations_on_product_id"
217 218  
218 219 create_table "products", :force => true do |t|
219 220 t.integer "enterprise_id"
... ... @@ -280,9 +281,9 @@ ActiveRecord::Schema.define(:version => 73) do
280 281  
281 282 create_table "roles", :force => true do |t|
282 283 t.string "name"
283   - t.text "permissions", :limit => 255
  284 + t.text "permissions"
284 285 t.string "key"
285   - t.boolean "system", :default => false
  286 + t.boolean "system", :default => false
286 287 t.integer "environment_id"
287 288 end
288 289  
... ... @@ -293,8 +294,8 @@ ActiveRecord::Schema.define(:version => 73) do
293 294 t.datetime "created_at"
294 295 end
295 296  
296   - add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
297 297 add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type"
  298 + add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
298 299  
299 300 create_table "tags", :force => true do |t|
300 301 t.string "name"
... ...