Commit 33f0881701972a3bb9e2e54f17874538c98c9d8f
1 parent
38ea8816
Exists in
master
and in
29 other branches
Fixed db schema
Showing
1 changed file
with
6 additions
and
13 deletions
Show diff stats
db/schema.rb
@@ -255,7 +255,6 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | @@ -255,7 +255,6 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | ||
255 | t.datetime "created_at" | 255 | t.datetime "created_at" |
256 | t.datetime "updated_at" | 256 | t.datetime "updated_at" |
257 | t.integer "reports_lower_bound", :default => 0, :null => false | 257 | t.integer "reports_lower_bound", :default => 0, :null => false |
258 | - t.text "send_email_plugin_allow_to" | ||
259 | end | 258 | end |
260 | 259 | ||
261 | create_table "external_feeds", :force => true do |t| | 260 | create_table "external_feeds", :force => true do |t| |
@@ -388,7 +387,7 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | @@ -388,7 +387,7 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | ||
388 | t.string "type" | 387 | t.string "type" |
389 | t.string "identifier" | 388 | t.string "identifier" |
390 | t.integer "environment_id" | 389 | t.integer "environment_id" |
391 | - t.boolean "active", :default => true | 390 | + t.boolean "active", :default => true |
392 | t.string "address" | 391 | t.string "address" |
393 | t.string "contact_phone" | 392 | t.string "contact_phone" |
394 | t.integer "home_page_id" | 393 | t.integer "home_page_id" |
@@ -399,24 +398,19 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | @@ -399,24 +398,19 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | ||
399 | t.float "lat" | 398 | t.float "lat" |
400 | t.float "lng" | 399 | t.float "lng" |
401 | t.integer "geocode_precision" | 400 | t.integer "geocode_precision" |
402 | - t.boolean "enabled", :default => true | ||
403 | - t.string "nickname", :limit => 16 | 401 | + t.boolean "enabled", :default => true |
402 | + t.string "nickname", :limit => 16 | ||
404 | t.text "custom_header" | 403 | t.text "custom_header" |
405 | t.text "custom_footer" | 404 | t.text "custom_footer" |
406 | t.string "theme" | 405 | t.string "theme" |
407 | - t.boolean "public_profile", :default => true | 406 | + t.boolean "public_profile", :default => true |
408 | t.date "birth_date" | 407 | t.date "birth_date" |
409 | t.integer "preferred_domain_id" | 408 | t.integer "preferred_domain_id" |
410 | t.datetime "updated_at" | 409 | t.datetime "updated_at" |
411 | - t.boolean "visible", :default => true | 410 | + t.boolean "visible", :default => true |
412 | t.integer "image_id" | 411 | t.integer "image_id" |
413 | - t.boolean "validated", :default => true | 412 | + t.boolean "validated", :default => true |
414 | t.string "cnpj" | 413 | t.string "cnpj" |
415 | - t.boolean "shopping_cart", :default => true | ||
416 | - t.boolean "shopping_cart_delivery", :default => false | ||
417 | - t.decimal "shopping_cart_delivery_price", :default => 0.0 | ||
418 | - t.integer "bsc_id" | ||
419 | - t.string "company_name" | ||
420 | end | 414 | end |
421 | 415 | ||
422 | add_index "profiles", ["environment_id"], :name => "index_profiles_on_environment_id" | 416 | add_index "profiles", ["environment_id"], :name => "index_profiles_on_environment_id" |
@@ -505,7 +499,6 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | @@ -505,7 +499,6 @@ ActiveRecord::Schema.define(:version => 20120307200651) do | ||
505 | t.datetime "created_at" | 499 | t.datetime "created_at" |
506 | t.string "target_type" | 500 | t.string "target_type" |
507 | t.integer "image_id" | 501 | t.integer "image_id" |
508 | - t.integer "bsc_id" | ||
509 | end | 502 | end |
510 | 503 | ||
511 | create_table "thumbnails", :force => true do |t| | 504 | create_table "thumbnails", :force => true do |t| |