db/schema.rb in spree-0.11.0 vs db/schema.rb in spree-0.11.1
- old
+ new
@@ -7,11 +7,11 @@
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20100605152042) do
+ActiveRecord::Schema.define(:version => 20100624123336) do
create_table "addresses", :force => true do |t|
t.string "firstname"
t.string "lastname"
t.string "address1"
@@ -130,38 +130,18 @@
t.integer "address_id"
t.string "gateway_customer_profile_id"
t.string "gateway_payment_profile_id"
end
- create_table "gateway_configurations", :force => true do |t|
- t.integer "gateway_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
-
- create_table "gateway_option_values", :force => true do |t|
- t.integer "gateway_configuration_id"
- t.integer "gateway_option_id"
- t.text "value"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
-
- create_table "gateway_options", :force => true do |t|
- t.string "name"
- t.text "description"
- t.integer "gateway_id"
- t.boolean "textarea", :default => false
- t.datetime "created_at"
- t.datetime "updated_at"
- end
-
create_table "gateways", :force => true do |t|
- t.string "clazz"
+ t.string "type"
t.string "name"
t.text "description"
- t.boolean "active"
+ t.boolean "active", :default => true
+ t.string "environment", :default => "development"
+ t.string "server", :default => "test"
+ t.boolean "test_mode", :default => true
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "inventory_units", :force => true do |t|
@@ -258,11 +238,11 @@
t.boolean "active", :default => true
t.string "environment", :default => "development"
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "deleted_at"
- t.string "display"
+ t.string "display_on"
end
create_table "payments", :force => true do |t|
t.integer "payable_id"
t.datetime "created_at"
@@ -423,10 +403,11 @@
create_table "shipping_methods", :force => true do |t|
t.integer "zone_id"
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
+ t.string "display_on"
end
create_table "shipping_rates", :force => true do |t|
t.integer "shipping_category_id"
t.integer "shipping_method_id"
@@ -532,9 +513,10 @@
t.string "last_login_ip"
t.string "login"
t.integer "ship_address_id"
t.integer "bill_address_id"
t.string "openid_identifier"
+ t.string "api_key", :limit => 40
end
add_index "users", ["openid_identifier"], :name => "index_users_on_openid_identifier"
add_index "users", ["persistence_token"], :name => "index_users_on_persistence_token"