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
@@ -88,15 +88,16 @@ ActiveRecord::Schema.define(:version => 73) do @@ -88,15 +88,16 @@ ActiveRecord::Schema.define(:version => 73) do
88 t.boolean "virtual", :default => false 88 t.boolean "virtual", :default => false
89 end 89 end
90 90
91 - add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id"  
92 add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" 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 create_table "blocks", :force => true do |t| 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 end 101 end
101 102
102 add_index "blocks", ["box_id"], :name => "index_blocks_on_box_id" 103 add_index "blocks", ["box_id"], :name => "index_blocks_on_box_id"
@@ -129,8 +130,8 @@ ActiveRecord::Schema.define(:version => 73) do @@ -129,8 +130,8 @@ ActiveRecord::Schema.define(:version => 73) do
129 t.boolean "virtual", :default => false 130 t.boolean "virtual", :default => false
130 end 131 end
131 132
132 - add_index "categories_profiles", ["profile_id"], :name => "index_categories_profiles_on_profile_id"  
133 add_index "categories_profiles", ["category_id"], :name => "index_categories_profiles_on_category_id" 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 create_table "comments", :force => true do |t| 136 create_table "comments", :force => true do |t|
136 t.string "title" 137 t.string "title"
@@ -171,13 +172,13 @@ ActiveRecord::Schema.define(:version => 73) do @@ -171,13 +172,13 @@ ActiveRecord::Schema.define(:version => 73) do
171 172
172 create_table "external_feeds", :force => true do |t| 173 create_table "external_feeds", :force => true do |t|
173 t.string "feed_title" 174 t.string "feed_title"
174 - t.date "fetched_at"  
175 t.string "address" 175 t.string "address"
176 t.integer "blog_id", :null => false 176 t.integer "blog_id", :null => false
177 t.boolean "enabled", :default => true, :null => false 177 t.boolean "enabled", :default => true, :null => false
178 t.boolean "only_once", :default => true, :null => false 178 t.boolean "only_once", :default => true, :null => false
179 t.datetime "created_at" 179 t.datetime "created_at"
180 t.datetime "updated_at" 180 t.datetime "updated_at"
  181 + t.datetime "fetched_at"
181 end 182 end
182 183
183 create_table "favorite_enteprises_people", :id => false, :force => true do |t| 184 create_table "favorite_enteprises_people", :id => false, :force => true do |t|
@@ -212,8 +213,8 @@ ActiveRecord::Schema.define(:version => 73) do @@ -212,8 +213,8 @@ ActiveRecord::Schema.define(:version => 73) do
212 t.datetime "updated_at" 213 t.datetime "updated_at"
213 end 214 end
214 215
215 - add_index "product_categorizations", ["product_id"], :name => "index_product_categorizations_on_product_id"  
216 add_index "product_categorizations", ["category_id"], :name => "index_product_categorizations_on_category_id" 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 create_table "products", :force => true do |t| 219 create_table "products", :force => true do |t|
219 t.integer "enterprise_id" 220 t.integer "enterprise_id"
@@ -280,9 +281,9 @@ ActiveRecord::Schema.define(:version => 73) do @@ -280,9 +281,9 @@ ActiveRecord::Schema.define(:version => 73) do
280 281
281 create_table "roles", :force => true do |t| 282 create_table "roles", :force => true do |t|
282 t.string "name" 283 t.string "name"
283 - t.text "permissions", :limit => 255 284 + t.text "permissions"
284 t.string "key" 285 t.string "key"
285 - t.boolean "system", :default => false 286 + t.boolean "system", :default => false
286 t.integer "environment_id" 287 t.integer "environment_id"
287 end 288 end
288 289
@@ -293,8 +294,8 @@ ActiveRecord::Schema.define(:version => 73) do @@ -293,8 +294,8 @@ ActiveRecord::Schema.define(:version => 73) do
293 t.datetime "created_at" 294 t.datetime "created_at"
294 end 295 end
295 296
296 - add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"  
297 add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" 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 create_table "tags", :force => true do |t| 300 create_table "tags", :force => true do |t|
300 t.string "name" 301 t.string "name"