spree_order_reporting 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/order_reporting/recurring_report_delayed_job.rb +4 -1
- data/lib/order_reporting/report.rb +2 -0
- data/lib/order_reporting/schedulers/delayed_job_scheduler.rb +4 -0
- data/lib/order_reporting/version.rb +1 -1
- data/spec/dummy/app/assets/stylesheets/application.css +1 -1
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/application.rb +1 -4
- data/spec/dummy/config/environments/development.rb +0 -4
- data/spec/dummy/config/environments/production.rb +12 -13
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/config/initializers/assets.rb +0 -3
- data/spec/dummy/config/initializers/cookies_serializer.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +1 -1
- data/spec/dummy/config/initializers/spree.rb +8 -51
- data/spec/dummy/config/secrets.yml +2 -2
- data/spec/dummy/config/spree.yml +2 -0
- data/spec/dummy/db/migrate/{20160707103353_spree_one_two.spree.rb → 20160708163029_spree_one_two.spree.rb} +36 -36
- data/spec/dummy/db/migrate/{20160707103354_spree_promo_one_two.spree.rb → 20160708163030_spree_promo_one_two.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103355_add_tax_rate_label.spree.rb → 20160708163031_add_tax_rate_label.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103356_add_toggle_tax_rate_display.spree.rb → 20160708163032_add_toggle_tax_rate_display.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103357_remove_unused_preference_columns.spree.rb → 20160708163033_remove_unused_preference_columns.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103358_add_lock_version_to_variant.spree.rb → 20160708163034_add_lock_version_to_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103359_add_states_required_to_countries.spree.rb → 20160708163035_add_states_required_to_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103360_add_on_demand_to_product_and_variant.spree.rb → 20160708163036_add_on_demand_to_product_and_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103361_remove_not_null_constraint_from_products_on_hand.spree.rb → 20160708163037_remove_not_null_constraint_from_products_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103362_split_prices_from_variants.spree.rb → 20160708163038_split_prices_from_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103363_remove_not_null_from_spree_prices_amount.spree.rb → 20160708163039_remove_not_null_from_spree_prices_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103364_add_currency_to_line_items.spree.rb → 20160708163040_add_currency_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103365_add_currency_to_orders.spree.rb → 20160708163041_add_currency_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103366_add_cost_currency_to_variants.spree.rb → 20160708163042_add_cost_currency_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103367_remove_display_on_from_payment_methods.spree.rb → 20160708163043_remove_display_on_from_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103368_add_position_to_taxonomies.spree.rb → 20160708163044_add_position_to_taxonomies.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103369_add_last_ip_to_spree_orders.spree.rb → 20160708163045_add_last_ip_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103370_add_state_to_spree_adjustments.spree.rb → 20160708163046_add_state_to_spree_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103371_add_display_on_to_spree_payment_methods.spree.rb → 20160708163047_add_display_on_to_spree_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103372_add_position_to_product_properties.spree.rb → 20160708163048_add_position_to_product_properties.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103373_add_identifier_to_spree_payments.spree.rb → 20160708163049_add_identifier_to_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103374_add_order_id_index_to_payments.spree.rb → 20160708163050_add_order_id_index_to_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103375_add_primary_to_spree_products_taxons.spree.rb → 20160708163051_add_primary_to_spree_products_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103376_create_spree_stock_items.spree.rb → 20160708163052_create_spree_stock_items.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103377_create_spree_stock_locations.spree.rb → 20160708163053_create_spree_stock_locations.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103378_create_default_stock.spree.rb → 20160708163054_create_default_stock.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103379_add_order_id_index_to_shipments.spree.rb → 20160708163055_add_order_id_index_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103380_change_meta_description_on_spree_products_to_text.spree.rb → 20160708163056_change_meta_description_on_spree_products_to_text.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103381_add_stock_location_id_to_spree_shipments.spree.rb → 20160708163057_add_stock_location_id_to_spree_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103382_add_pending_to_inventory_unit.spree.rb → 20160708163058_add_pending_to_inventory_unit.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103383_remove_on_demand_from_product_and_variant.spree.rb → 20160708163059_remove_on_demand_from_product_and_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163060_create_shipping_method_zone.spree.rb +23 -0
- data/spec/dummy/db/migrate/{20160707103385_remove_shipping_category_id_from_shipping_method.spree.rb → 20160708163061_remove_shipping_category_id_from_shipping_method.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103386_create_shipping_method_categories.spree.rb → 20160708163062_create_shipping_method_categories.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103387_add_tracking_url_to_spree_shipping_methods.spree.rb → 20160708163063_add_tracking_url_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103388_create_spree_shipping_rates.spree.rb → 20160708163064_create_spree_shipping_rates.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103389_remove_category_match_attributes_from_shipping_method.spree.rb → 20160708163065_remove_category_match_attributes_from_shipping_method.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103390_create_stock_movements.spree.rb → 20160708163066_create_stock_movements.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103391_add_address_fields_to_stock_location.spree.rb → 20160708163067_add_address_fields_to_stock_location.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103392_add_active_field_to_stock_locations.spree.rb → 20160708163068_add_active_field_to_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103393_add_backorderable_to_stock_item.spree.rb → 20160708163069_add_backorderable_to_stock_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103394_add_default_quantity_to_stock_movement.spree.rb → 20160708163070_add_default_quantity_to_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103395_add_source_and_destination_to_stock_movements.spree.rb → 20160708163071_add_source_and_destination_to_stock_movements.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103396_change_orders_total_precision.spree.rb → 20160708163072_change_orders_total_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103397_change_spree_payments_amount_precision.spree.rb → 20160708163073_change_spree_payments_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103398_change_spree_return_authorization_amount_precision.spree.rb → 20160708163074_change_spree_return_authorization_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103399_change_adjustments_amount_precision.spree.rb → 20160708163075_change_adjustments_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103400_add_originator_to_stock_movement.spree.rb → 20160708163076_add_originator_to_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103401_drop_source_and_destination_from_stock_movement.spree.rb → 20160708163077_drop_source_and_destination_from_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103402_migrate_inventory_unit_sold_to_on_hand.spree.rb → 20160708163078_migrate_inventory_unit_sold_to_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103403_add_stock_location_to_rma.spree.rb → 20160708163079_add_stock_location_to_rma.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103404_update_shipment_state_for_canceled_orders.spree.rb → 20160708163080_update_shipment_state_for_canceled_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103405_add_seo_metas_to_taxons.spree.rb → 20160708163081_add_seo_metas_to_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103406_remove_stock_item_and_variant_lock.spree.rb → 20160708163082_remove_stock_item_and_variant_lock.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103407_add_name_to_spree_credit_cards.spree.rb → 20160708163083_add_name_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103408_update_name_fields_on_spree_credit_cards.spree.rb → 20160708163084_update_name_fields_on_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103409_add_index_to_source_columns_on_adjustments.spree.rb → 20160708163085_add_index_to_source_columns_on_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103410_update_adjustment_states.spree.rb → 20160708163086_update_adjustment_states.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103411_add_shipping_rates_to_shipments.spree.rb → 20160708163087_add_shipping_rates_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103412_create_spree_stock_transfers.spree.rb → 20160708163088_create_spree_stock_transfers.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103413_drop_products_count_on_hand.spree.rb → 20160708163089_drop_products_count_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103414_set_default_shipping_rate_cost.spree.rb → 20160708163090_set_default_shipping_rate_cost.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103415_add_number_to_stock_transfer.spree.rb → 20160708163091_add_number_to_stock_transfer.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103416_add_sku_index_to_spree_variants.spree.rb → 20160708163092_add_sku_index_to_spree_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103417_add_backorderable_default_to_spree_stock_location.spree.rb → 20160708163093_add_backorderable_default_to_spree_stock_location.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103418_add_propage_all_variants_to_spree_stock_location.spree.rb → 20160708163094_add_propage_all_variants_to_spree_stock_location.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163095_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +11 -0
- data/spec/dummy/db/migrate/{20160707103420_add_user_id_index_to_spree_orders.spree.rb → 20160708163096_add_user_id_index_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103421_add_updated_at_to_spree_countries.spree.rb → 20160708163097_add_updated_at_to_spree_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103422_add_updated_at_to_spree_states.spree.rb → 20160708163098_add_updated_at_to_spree_states.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103423_add_cvv_result_code_and_cvv_result_message_to_spree_payments.spree.rb → 20160708163099_add_cvv_result_code_and_cvv_result_message_to_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103424_add_unique_index_to_permalink_on_spree_products.spree.rb → 20160708163100_add_unique_index_to_permalink_on_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103425_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb → 20160708163101_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103426_add_deleted_at_to_spree_tax_rates.spree.rb → 20160708163102_add_deleted_at_to_spree_tax_rates.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103427_remove_lock_version_from_inventory_units.spree.rb → 20160708163103_remove_lock_version_from_inventory_units.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103428_add_cost_price_to_line_item.spree.rb → 20160708163104_add_cost_price_to_line_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103429_set_backorderable_to_default_to_false.spree.rb → 20160708163105_set_backorderable_to_default_to_false.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103430_add_created_by_id_to_spree_orders.spree.rb → 20160708163106_add_created_by_id_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103431_index_completed_at_on_spree_orders.spree.rb → 20160708163107_index_completed_at_on_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103432_add_tax_category_id_to_spree_line_items.spree.rb → 20160708163108_add_tax_category_id_to_spree_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103433_migrate_tax_categories_to_line_items.spree.rb → 20160708163109_migrate_tax_categories_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103434_drop_spree_mail_methods.spree.rb → 20160708163110_drop_spree_mail_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103435_set_default_stock_location_on_shipments.spree.rb → 20160708163111_set_default_stock_location_on_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103436_upgrade_adjustments.spree.rb → 20160708163112_upgrade_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103437_rename_adjustment_fields.spree.rb → 20160708163113_rename_adjustment_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103438_add_admin_name_column_to_spree_shipping_methods.spree.rb → 20160708163114_add_admin_name_column_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103439_add_admin_name_column_to_spree_stock_locations.spree.rb → 20160708163115_add_admin_name_column_to_spree_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103440_add_shipment_total_to_spree_orders.spree.rb → 20160708163116_add_shipment_total_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103441_expand_order_number_size.spree.rb → 20160708163117_expand_order_number_size.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103442_rename_activators_to_promotions.spree.rb → 20160708163118_rename_activators_to_promotions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103443_add_adjustment_total_to_line_items.spree.rb → 20160708163119_add_adjustment_total_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103444_add_adjustment_total_to_shipments.spree.rb → 20160708163120_add_adjustment_total_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103445_add_depth_to_spree_taxons.spree.rb → 20160708163121_add_depth_to_spree_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103446_add_tax_total_to_line_items_shipments_and_orders.spree.rb → 20160708163122_add_tax_total_to_line_items_shipments_and_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103447_add_shipping_category_to_shipping_methods_and_products.spree.rb → 20160708163123_add_shipping_category_to_shipping_methods_and_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103448_migrate_old_shipping_calculators.spree.rb → 20160708163124_migrate_old_shipping_calculators.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103449_add_code_to_spree_promotion_rules.spree.rb → 20160708163125_add_code_to_spree_promotion_rules.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103450_change_states_required_for_countries.spree.rb → 20160708163126_change_states_required_for_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103451_add_deleted_at_to_spree_stock_items.spree.rb → 20160708163127_add_deleted_at_to_spree_stock_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103452_remove_promotions_event_name_field.spree.rb → 20160708163128_remove_promotions_event_name_field.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103453_add_promo_total_to_line_items_and_shipments_and_orders.spree.rb → 20160708163129_add_promo_total_to_line_items_and_shipments_and_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103454_remove_unused_credit_card_fields.spree.rb → 20160708163130_remove_unused_credit_card_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103455_add_track_inventory_to_variant.spree.rb → 20160708163131_add_track_inventory_to_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103456_add_tax_category_to_variants.spree.rb → 20160708163132_add_tax_category_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103457_add_channel_to_spree_orders.spree.rb → 20160708163133_add_channel_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103458_add_included_to_adjustments.spree.rb → 20160708163134_add_included_to_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103459_rename_tax_total_fields.spree.rb → 20160708163135_rename_tax_total_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103460_add_line_item_id_to_spree_inventory_units.spree.rb → 20160708163136_add_line_item_id_to_spree_inventory_units.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103461_add_updated_at_to_variants.spree.rb → 20160708163137_add_updated_at_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103462_add_position_to_classifications.spree.rb → 20160708163138_add_position_to_classifications.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103463_create_spree_orders_promotions.spree.rb → 20160708163139_create_spree_orders_promotions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103464_unique_shipping_method_categories.spree.rb → 20160708163140_unique_shipping_method_categories.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103465_add_item_count_to_spree_orders.spree.rb → 20160708163141_add_item_count_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103466_remove_value_type_from_spree_preferences.spree.rb → 20160708163142_remove_value_type_from_spree_preferences.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103467_rename_permalink_to_slug_for_products.spree.rb → 20160708163143_rename_permalink_to_slug_for_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103468_add_index_to_variant_id_and_currency_on_prices.spree.rb → 20160708163144_add_index_to_variant_id_and_currency_on_prices.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103469_rename_activator_id_in_rules_and_actions_to_promotion_id.spree.rb → 20160708163145_rename_activator_id_in_rules_and_actions_to_promotion_id.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103470_add_deleted_at_to_spree_prices.spree.rb → 20160708163146_add_deleted_at_to_spree_prices.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103471_add_approver_id_and_approved_at_to_orders.spree.rb → 20160708163147_add_approver_id_and_approved_at_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103472_add_confirmation_delivered_to_spree_orders.spree.rb → 20160708163148_add_confirmation_delivered_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103473_add_auto_capture_to_payment_methods.spree.rb → 20160708163149_add_auto_capture_to_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103474_create_spree_payment_capture_events.spree.rb → 20160708163150_create_spree_payment_capture_events.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103475_add_uncaptured_amount_to_payments.spree.rb → 20160708163151_add_uncaptured_amount_to_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103476_default_variant_weight_to_zero.spree.rb → 20160708163152_default_variant_weight_to_zero.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103477_add_tax_category_id_to_shipping_methods.spree.rb → 20160708163153_add_tax_category_id_to_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103478_add_tax_rate_id_to_shipping_rates.spree.rb → 20160708163154_add_tax_rate_id_to_shipping_rates.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103479_add_pre_tax_amount_to_line_items_and_shipments.spree.rb → 20160708163155_add_pre_tax_amount_to_line_items_and_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103480_add_more_indexes.spree.rb → 20160708163156_add_more_indexes.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103481_add_considered_risky_to_orders.spree.rb → 20160708163157_add_considered_risky_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103482_add_preference_store_to_everything.spree.rb → 20160708163158_add_preference_store_to_everything.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103483_add_user_id_to_spree_credit_cards.spree.rb → 20160708163159_add_user_id_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163160_migrate_old_preferences.spree.rb +24 -0
- data/spec/dummy/db/migrate/{20160707103485_create_spree_stores.spree.rb → 20160708163161_create_spree_stores.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103486_create_store_from_preferences.spree.rb → 20160708163162_create_store_from_preferences.spree.rb} +12 -8
- data/spec/dummy/db/migrate/{20160707103487_add_timestamps_to_spree_assets.spree.rb → 20160708163163_add_timestamps_to_spree_assets.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103488_create_spree_taxons_promotion_rules.spree.rb → 20160708163164_create_spree_taxons_promotion_rules.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103489_add_additional_store_fields.spree.rb → 20160708163165_add_additional_store_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163166_add_many_missing_indexes.spree.rb +19 -0
- data/spec/dummy/db/migrate/20160708163167_correct_some_polymorphic_index_and_add_more_missing.spree.rb +67 -0
- data/spec/dummy/db/migrate/{20160707103492_add_user_id_created_by_id_index_to_order.spree.rb → 20160708163168_add_user_id_created_by_id_index_to_order.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103493_change_spree_price_amount_precision.spree.rb → 20160708163169_change_spree_price_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103494_add_token_to_spree_orders.spree.rb → 20160708163170_add_token_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103495_move_order_token_from_tokenized_permission.spree.rb → 20160708163171_move_order_token_from_tokenized_permission.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103496_set_shipment_total_for_users_upgrading.spree.rb → 20160708163172_set_shipment_total_for_users_upgrading.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103497_drop_credit_card_first_name_and_last_name.spree.rb → 20160708163173_drop_credit_card_first_name_and_last_name.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103498_add_deleted_at_to_spree_promotion_actions.spree.rb → 20160708163174_add_deleted_at_to_spree_promotion_actions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103499_remove_uncaptured_amount_from_spree_payments.spree.rb → 20160708163175_remove_uncaptured_amount_from_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103500_create_spree_refunds.spree.rb → 20160708163176_create_spree_refunds.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103501_create_spree_return_authorization_inventory_unit.spree.rb → 20160708163177_create_spree_return_authorization_inventory_unit.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103502_rename_return_authorization_inventory_unit_to_return_items.spree.rb → 20160708163178_rename_return_authorization_inventory_unit_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103504_backfill_line_item_pre_tax_amount.spree.rb → 20160708163179_backfill_line_item_pre_tax_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103505_recreate_spree_return_authorizations.spree.rb → 20160708163180_recreate_spree_return_authorizations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103506_add_amount_fields_to_return_items.spree.rb → 20160708163181_add_amount_fields_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103507_drop_return_authorization_amount.spree.rb → 20160708163182_drop_return_authorization_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163183_create_spree_return_authorization_reasons.spree.rb +29 -0
- data/spec/dummy/db/migrate/{20160707103509_create_spree_refund_reasons.spree.rb → 20160708163184_create_spree_refund_reasons.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103510_rename_return_authorization_reason.spree.rb → 20160708163185_rename_return_authorization_reason.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103511_create_spree_promotion_categories.spree.rb → 20160708163186_create_spree_promotion_categories.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103512_drop_received_at_on_return_items.spree.rb → 20160708163187_drop_received_at_on_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103513_add_reception_and_acceptance_status_to_return_items.spree.rb → 20160708163188_add_reception_and_acceptance_status_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103514_create_default_refund_reason.spree.rb → 20160708163189_create_default_refund_reason.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103515_add_default_to_spree_stock_locations.spree.rb → 20160708163190_add_default_to_spree_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103516_create_spree_customer_returns.spree.rb → 20160708163191_create_spree_customer_returns.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103517_add_customer_return_id_to_return_item.spree.rb → 20160708163192_add_customer_return_id_to_return_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103518_create_friendly_id_slugs.spree.rb → 20160708163193_create_friendly_id_slugs.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103519_rename_spree_refund_return_authorization_id.spree.rb → 20160708163194_rename_spree_refund_return_authorization_id.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103520_increase_return_item_pre_tax_amount_precision.spree.rb → 20160708163195_increase_return_item_pre_tax_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103521_copy_product_slugs_to_slug_history.spree.rb → 20160708163196_copy_product_slugs_to_slug_history.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103522_create_spree_reimbursements.spree.rb → 20160708163197_create_spree_reimbursements.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103523_add_promotionable_to_spree_products.spree.rb → 20160708163198_add_promotionable_to_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103524_add_exchange_inventory_unit_foreign_keys.spree.rb → 20160708163199_add_exchange_inventory_unit_foreign_keys.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103525_add_acceptance_status_errors_to_return_item.spree.rb → 20160708163200_add_acceptance_status_errors_to_return_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103526_create_spree_reimbursement_types.spree.rb → 20160708163201_create_spree_reimbursement_types.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103527_add_default_to_shipment_cost.spree.rb → 20160708163202_add_default_to_shipment_cost.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103528_add_default_to_spree_credit_cards.spree.rb → 20160708163203_add_default_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103529_make_existing_credit_cards_default.spree.rb → 20160708163204_make_existing_credit_cards_default.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103530_add_type_to_reimbursement_type.spree.rb → 20160708163205_add_type_to_reimbursement_type.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103531_create_spree_reimbursement_credits.spree.rb → 20160708163206_create_spree_reimbursement_credits.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103532_add_meta_title_to_spree_products.spree.rb → 20160708163207_add_meta_title_to_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103533_add_code_to_spree_tax_categories.spree.rb → 20160708163208_add_code_to_spree_tax_categories.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103534_default_pre_tax_amount_should_be_zero.spree.rb → 20160708163209_default_pre_tax_amount_should_be_zero.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103535_add_code_to_spree_shipping_methods.spree.rb → 20160708163210_add_code_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103536_add_cancel_audit_fields_to_spree_orders.spree.rb → 20160708163211_add_cancel_audit_fields_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163212_add_store_id_to_orders.spree.rb +9 -0
- data/spec/dummy/db/migrate/{20160707103538_create_spree_taxons_prototypes.spree.rb → 20160708163213_create_spree_taxons_prototypes.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163214_add_state_lock_version_to_order.spree.rb +6 -0
- data/spec/dummy/db/migrate/20160708163215_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +14 -0
- data/spec/dummy/db/migrate/{20160707103540_fix_adjustment_order_presence.spree.rb → 20160708163216_fix_adjustment_order_presence.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103541_update_classifications_positions.spree.rb → 20160708163217_update_classifications_positions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103542_add_guest_token_index_to_spree_orders.spree.rb → 20160708163218_add_guest_token_index_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163219_fix_adjustment_order_id.spree.rb +71 -0
- data/spec/dummy/db/migrate/20160708163220_add_deleted_at_to_friendly_id_slugs.spree.rb +7 -0
- data/spec/dummy/db/migrate/20160708163221_enable_acts_as_paranoid_on_calculators.spree.rb +7 -0
- data/spec/dummy/db/migrate/{20160707103631_add_api_key_to_spree_users.spree_api.rb → 20160708163222_add_api_key_to_spree_users.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103632_resize_api_key_field.spree_api.rb → 20160708163223_resize_api_key_field.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103633_rename_api_key_to_spree_api_key.spree_api.rb → 20160708163224_rename_api_key_to_spree_api_key.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103634_add_index_to_user_spree_api_key.spree_api.rb → 20160708163225_add_index_to_user_spree_api_key.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103635_create_users.solidus_auth.rb → 20160708163226_create_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103636_rename_columns_for_devise.solidus_auth.rb → 20160708163227_rename_columns_for_devise.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103637_convert_user_remember_field.solidus_auth.rb → 20160708163228_convert_user_remember_field.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103638_add_reset_password_sent_at_to_spree_users.solidus_auth.rb → 20160708163229_add_reset_password_sent_at_to_spree_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103639_make_users_email_index_unique.solidus_auth.rb → 20160708163230_make_users_email_index_unique.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103640_add_deleted_at_to_users.solidus_auth.rb → 20160708163231_add_deleted_at_to_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103641_add_confirmable_to_users.solidus_auth.rb → 20160708163232_add_confirmable_to_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103642_create_delayed_jobs.rb → 20160708163233_create_delayed_jobs.rb} +0 -0
- data/spec/dummy/db/schema.rb +210 -397
- data/spec/dummy/db/spree_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +15949 -8818
- data/spec/dummy/tmp/cache/2CC/B21/spree%2Fapp_configuration%2Frequire_master_price +1 -0
- data/spec/dummy/tmp/cache/397/F31/spree%2Fapp_configuration%2Fbinary_inventory_cache +1 -0
- data/spec/dummy/tmp/cache/39C/F91/spree%2Fapp_configuration%2Ftax_using_ship_address +1 -0
- data/spec/dummy/tmp/cache/3A7/4A1/spree%2Fapp_configuration%2Faddress_requires_state +1 -0
- data/spec/dummy/tmp/cache/3BE/851/spree%2Fapp_configuration%2Ftrack_inventory_levels +1 -0
- data/spec/dummy/tmp/cache/5AE/6A1/spree%2Fapp_configuration%2Falways_include_confirm_step +1 -0
- data/spec/dummy/tmp/cache/DDD/2D0/spree%2Fapp_configuration%2Fcurrency +1 -0
- data/spec/dummy/tmp/cache/F65/550/spree%2Fauth_configuration%2Fconfirmable +1 -1
- data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +3 -0
- data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +3 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +3 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +3 -0
- data/spec/features/recurring_reports_spec.rb +1 -1
- data/spec/unit/lib/order_reporting/delayed_job_scheduler_spec.rb +12 -2
- metadata +428 -584
- data/spec/dummy/bin/setup +0 -29
- data/spec/dummy/db/migrate/20160707103384_create_shipping_method_zone.spree.rb +0 -22
- data/spec/dummy/db/migrate/20160707103419_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103484_migrate_old_preferences.spree.rb +0 -52
- data/spec/dummy/db/migrate/20160707103490_add_many_missing_indexes.spree.rb +0 -20
- data/spec/dummy/db/migrate/20160707103491_correct_some_polymorphic_index_and_add_more_missing.spree.rb +0 -66
- data/spec/dummy/db/migrate/20160707103503_create_order_mutex.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103508_create_spree_return_authorization_reasons.spree.rb +0 -33
- data/spec/dummy/db/migrate/20160707103537_add_store_id_to_orders.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103539_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103543_remove_extra_products_slug_index.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103544_update_product_slug_index.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103545_add_default_column_to_price.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103546_add_position_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103547_create_spree_promotion_codes.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103548_create_adjustment_promotion_code_association.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103549_remove_environment_from_payment_method.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103550_add_restock_inventory_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103551_add_code_to_spree_promotion_categories.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103552_create_order_stock_locations.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103553_remove_environment_from_tracker.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103554_add_fulfillable_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103555_add_code_to_refund_reason.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103556_add_promotion_code_id_to_orders_promotions.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103557_add_approver_name_to_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103558_move_promotion_code_to_promotion_code_value.spree.rb +0 -66
- data/spec/dummy/db/migrate/20160707103559_downcase_promotion_codes_values.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103560_add_order_ids_to_adjustments_where_missing.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103561_add_per_code_usage_limit_to_promotions.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103562_remove_usage_limit_from_promotion_codes.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103563_add_timestamps_to_order_promotions.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103564_create_spree_cartons.spree.rb +0 -25
- data/spec/dummy/db/migrate/20160707103565_add_timestamps_to_spree_roles_users.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103566_remove_considered_risky_from_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103567_add_index_to_inventory_units_carton_id.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103568_add_imported_from_shipment_id_to_cartons.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103569_copy_shipped_shipments_to_cartons.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103570_create_spree_user_stock_locations.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103571_add_stock_location_code.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103572_create_unit_cancels.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103573_add_fields_to_stock_transfer.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103574_create_transfer_items.spree.rb +0 -15
- data/spec/dummy/db/migrate/20160707103575_drop_stock_transfer_type.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103576_add_stock_transfer_finalized_at.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103577_rename_stock_transfer_reference.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103578_create_line_item_actions.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103579_create_spree_store_credit_categories.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103580_create_spree_store_credits.spree.rb +0 -20
- data/spec/dummy/db/migrate/20160707103581_create_spree_store_credit_events.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103582_create_spree_store_credit_payment_method.spree.rb +0 -22
- data/spec/dummy/db/migrate/20160707103583_create_store_credit_types.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103584_create_store_credit_reimbursement_type.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103585_add_resellable_to_return_items.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103586_add_invalidated_at_to_spree_store_credits.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103587_migrate_deleted_store_credits_to_invalidated.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103588_add_check_stock_on_transfer.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103589_fix_adjustment_order_id.spree.rb +0 -81
- data/spec/dummy/db/migrate/20160707103590_delete_inventory_units_without_shipment.spree.rb +0 -26
- data/spec/dummy/db/migrate/20160707103591_add_deleted_at_to_stock_transfers.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103592_add_deleted_at_to_transfer_items.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103593_increase_scale_on_pre_tax_amounts.spree.rb +0 -27
- data/spec/dummy/db/migrate/20160707103594_add_preferences_to_promotion_actions.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103595_add_id_to_spree_option_values_variants.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103596_add_frontend_viewable_to_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103597_remove_spree_configurations.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103598_add_preference_source_to_spree_payment_methods.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103599_remove_credit_card_address_id.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103600_create_spree_store_credit_update_reasons.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103601_create_adjustment_reason.spree.rb +0 -19
- data/spec/dummy/db/migrate/20160707103602_add_update_reason_to_store_credit_events.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103603_add_return_authorization_reason_id_to_return_items.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103604_seed_store_credit_update_reasons.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103605_remove_shipping_method_id_from_spree_orders.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103606_remove_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103607_add_address_id_to_credit_card.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103608_copy_order_bill_address_to_credit_card.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103609_remove_unnecessary_indexes.spree.rb +0 -65
- data/spec/dummy/db/migrate/20160707103610_remove_state_lock_version_from_order.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103611_add_spree_user_addresses.spree.rb +0 -17
- data/spec/dummy/db/migrate/20160707103612_add_id_and_timestamp_to_promotion_rule_user.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103613_remove_mandatory_from_adjustments.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103614_add_finalized_to_spree_adjustments.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103615_add_store_payment_methods.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103616_convert_habtm_to_hmt_for_shipping_methods_zones.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103617_convert_habtm_to_hmt_for_products_promotion_rules.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103618_drop_spree_gateways.spree.rb +0 -21
- data/spec/dummy/db/migrate/20160707103619_convert_habtm_to_hmt_for_taxon_prototypes.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103620_create_variant_properties_and_rules.spree.rb +0 -29
- data/spec/dummy/db/migrate/20160707103621_add_foreign_keys_for_taxons_prototypes.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103622_remove_token_permissions_table.spree.rb +0 -17
- data/spec/dummy/db/migrate/20160707103623_rename_identifier_to_number_for_payment.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103624_add_foreign_keys_for_product_promotion_rules.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103625_add_sale_to_spree_promotions.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103626_convert_sale_promotions.spree.rb +0 -29
- data/spec/dummy/db/migrate/20160707103627_convert_habtm_to_hmt_for_properties_prototypes.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103628_convert_habtm_to_hmt_for_option_type_prototypes.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103629_convert_habtm_to_hmt_for_taxons_promotion_rules.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103630_add_stock_item_unique_index.spree.rb +0 -10
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This migration comes from
|
1
|
+
# This migration comes from spree_auth (originally 20120605211305)
|
2
2
|
class MakeUsersEmailIndexUnique < ActiveRecord::Migration
|
3
3
|
def up
|
4
4
|
add_index "spree_users", ["email"], :name => "email_idx_unique", :unique => true
|
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,9 +11,9 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160708163233) do
|
15
15
|
|
16
|
-
create_table "delayed_jobs", force:
|
16
|
+
create_table "delayed_jobs", force: true do |t|
|
17
17
|
t.integer "priority", default: 0, null: false
|
18
18
|
t.integer "attempts", default: 0, null: false
|
19
19
|
t.text "handler", null: false
|
@@ -29,20 +29,22 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
29
29
|
|
30
30
|
add_index "delayed_jobs", ["priority", "run_at"], name: "delayed_jobs_priority"
|
31
31
|
|
32
|
-
create_table "friendly_id_slugs", force:
|
32
|
+
create_table "friendly_id_slugs", force: true do |t|
|
33
33
|
t.string "slug", null: false
|
34
34
|
t.integer "sluggable_id", null: false
|
35
35
|
t.string "sluggable_type", limit: 50
|
36
36
|
t.string "scope"
|
37
37
|
t.datetime "created_at"
|
38
|
+
t.datetime "deleted_at"
|
38
39
|
end
|
39
40
|
|
41
|
+
add_index "friendly_id_slugs", ["deleted_at"], name: "index_friendly_id_slugs_on_deleted_at"
|
40
42
|
add_index "friendly_id_slugs", ["slug", "sluggable_type", "scope"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope", unique: true
|
41
43
|
add_index "friendly_id_slugs", ["slug", "sluggable_type"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type"
|
42
44
|
add_index "friendly_id_slugs", ["sluggable_id"], name: "index_friendly_id_slugs_on_sluggable_id"
|
43
45
|
add_index "friendly_id_slugs", ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type"
|
44
46
|
|
45
|
-
create_table "spree_addresses", force:
|
47
|
+
create_table "spree_addresses", force: true do |t|
|
46
48
|
t.string "firstname"
|
47
49
|
t.string "lastname"
|
48
50
|
t.string "address1"
|
@@ -64,42 +66,29 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
64
66
|
add_index "spree_addresses", ["lastname"], name: "index_addresses_on_lastname"
|
65
67
|
add_index "spree_addresses", ["state_id"], name: "index_spree_addresses_on_state_id"
|
66
68
|
|
67
|
-
create_table "
|
68
|
-
t.string "name"
|
69
|
-
t.string "code"
|
70
|
-
t.boolean "active", default: true
|
71
|
-
t.datetime "created_at"
|
72
|
-
t.datetime "updated_at"
|
73
|
-
end
|
74
|
-
|
75
|
-
add_index "spree_adjustment_reasons", ["active"], name: "index_spree_adjustment_reasons_on_active"
|
76
|
-
add_index "spree_adjustment_reasons", ["code"], name: "index_spree_adjustment_reasons_on_code"
|
77
|
-
|
78
|
-
create_table "spree_adjustments", force: :cascade do |t|
|
69
|
+
create_table "spree_adjustments", force: true do |t|
|
79
70
|
t.integer "source_id"
|
80
71
|
t.string "source_type"
|
81
|
-
t.integer "adjustable_id"
|
72
|
+
t.integer "adjustable_id"
|
82
73
|
t.string "adjustable_type"
|
83
|
-
t.decimal "amount",
|
74
|
+
t.decimal "amount", precision: 10, scale: 2
|
84
75
|
t.string "label"
|
85
|
-
t.boolean "
|
76
|
+
t.boolean "mandatory"
|
77
|
+
t.boolean "eligible", default: true
|
86
78
|
t.datetime "created_at"
|
87
79
|
t.datetime "updated_at"
|
88
|
-
t.
|
89
|
-
t.
|
90
|
-
t.
|
91
|
-
t.integer "adjustment_reason_id"
|
92
|
-
t.boolean "finalized"
|
80
|
+
t.string "state"
|
81
|
+
t.integer "order_id", null: false
|
82
|
+
t.boolean "included", default: false
|
93
83
|
end
|
94
84
|
|
95
85
|
add_index "spree_adjustments", ["adjustable_id", "adjustable_type"], name: "index_spree_adjustments_on_adjustable_id_and_adjustable_type"
|
96
86
|
add_index "spree_adjustments", ["adjustable_id"], name: "index_adjustments_on_order_id"
|
97
87
|
add_index "spree_adjustments", ["eligible"], name: "index_spree_adjustments_on_eligible"
|
98
88
|
add_index "spree_adjustments", ["order_id"], name: "index_spree_adjustments_on_order_id"
|
99
|
-
add_index "spree_adjustments", ["promotion_code_id"], name: "index_spree_adjustments_on_promotion_code_id"
|
100
89
|
add_index "spree_adjustments", ["source_id", "source_type"], name: "index_spree_adjustments_on_source_id_and_source_type"
|
101
90
|
|
102
|
-
create_table "spree_assets", force:
|
91
|
+
create_table "spree_assets", force: true do |t|
|
103
92
|
t.integer "viewable_id"
|
104
93
|
t.string "viewable_type"
|
105
94
|
t.integer "attachment_width"
|
@@ -118,37 +107,30 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
118
107
|
add_index "spree_assets", ["viewable_id"], name: "index_assets_on_viewable_id"
|
119
108
|
add_index "spree_assets", ["viewable_type", "type"], name: "index_assets_on_viewable_type_and_type"
|
120
109
|
|
121
|
-
create_table "spree_calculators", force:
|
110
|
+
create_table "spree_calculators", force: true do |t|
|
122
111
|
t.string "type"
|
123
112
|
t.integer "calculable_id"
|
124
113
|
t.string "calculable_type"
|
125
114
|
t.datetime "created_at"
|
126
115
|
t.datetime "updated_at"
|
127
116
|
t.text "preferences"
|
117
|
+
t.datetime "deleted_at"
|
128
118
|
end
|
129
119
|
|
130
120
|
add_index "spree_calculators", ["calculable_id", "calculable_type"], name: "index_spree_calculators_on_calculable_id_and_calculable_type"
|
121
|
+
add_index "spree_calculators", ["deleted_at"], name: "index_spree_calculators_on_deleted_at"
|
131
122
|
add_index "spree_calculators", ["id", "type"], name: "index_spree_calculators_on_id_and_type"
|
132
123
|
|
133
|
-
create_table "
|
134
|
-
t.string "
|
135
|
-
t.string "
|
136
|
-
t.integer "stock_location_id"
|
137
|
-
t.integer "address_id"
|
138
|
-
t.integer "shipping_method_id"
|
139
|
-
t.string "tracking"
|
140
|
-
t.datetime "shipped_at"
|
124
|
+
create_table "spree_configurations", force: true do |t|
|
125
|
+
t.string "name"
|
126
|
+
t.string "type", limit: 50
|
141
127
|
t.datetime "created_at"
|
142
128
|
t.datetime "updated_at"
|
143
|
-
t.integer "imported_from_shipment_id"
|
144
129
|
end
|
145
130
|
|
146
|
-
add_index "
|
147
|
-
add_index "spree_cartons", ["imported_from_shipment_id"], name: "index_spree_cartons_on_imported_from_shipment_id", unique: true
|
148
|
-
add_index "spree_cartons", ["number"], name: "index_spree_cartons_on_number", unique: true
|
149
|
-
add_index "spree_cartons", ["stock_location_id"], name: "index_spree_cartons_on_stock_location_id"
|
131
|
+
add_index "spree_configurations", ["name", "type"], name: "index_spree_configurations_on_name_and_type"
|
150
132
|
|
151
|
-
create_table "spree_countries", force:
|
133
|
+
create_table "spree_countries", force: true do |t|
|
152
134
|
t.string "iso_name"
|
153
135
|
t.string "iso"
|
154
136
|
t.string "iso3"
|
@@ -158,11 +140,12 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
158
140
|
t.datetime "updated_at"
|
159
141
|
end
|
160
142
|
|
161
|
-
create_table "spree_credit_cards", force:
|
143
|
+
create_table "spree_credit_cards", force: true do |t|
|
162
144
|
t.string "month"
|
163
145
|
t.string "year"
|
164
146
|
t.string "cc_type"
|
165
147
|
t.string "last_digits"
|
148
|
+
t.integer "address_id"
|
166
149
|
t.string "gateway_customer_profile_id"
|
167
150
|
t.string "gateway_payment_profile_id"
|
168
151
|
t.datetime "created_at"
|
@@ -171,20 +154,36 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
171
154
|
t.integer "user_id"
|
172
155
|
t.integer "payment_method_id"
|
173
156
|
t.boolean "default", default: false, null: false
|
174
|
-
t.integer "address_id"
|
175
157
|
end
|
176
158
|
|
159
|
+
add_index "spree_credit_cards", ["address_id"], name: "index_spree_credit_cards_on_address_id"
|
177
160
|
add_index "spree_credit_cards", ["payment_method_id"], name: "index_spree_credit_cards_on_payment_method_id"
|
178
161
|
add_index "spree_credit_cards", ["user_id"], name: "index_spree_credit_cards_on_user_id"
|
179
162
|
|
180
|
-
create_table "spree_customer_returns", force:
|
163
|
+
create_table "spree_customer_returns", force: true do |t|
|
181
164
|
t.string "number"
|
182
165
|
t.integer "stock_location_id"
|
183
166
|
t.datetime "created_at"
|
184
167
|
t.datetime "updated_at"
|
185
168
|
end
|
186
169
|
|
187
|
-
create_table "
|
170
|
+
create_table "spree_gateways", force: true do |t|
|
171
|
+
t.string "type"
|
172
|
+
t.string "name"
|
173
|
+
t.text "description"
|
174
|
+
t.boolean "active", default: true
|
175
|
+
t.string "environment", default: "development"
|
176
|
+
t.string "server", default: "test"
|
177
|
+
t.boolean "test_mode", default: true
|
178
|
+
t.datetime "created_at"
|
179
|
+
t.datetime "updated_at"
|
180
|
+
t.text "preferences"
|
181
|
+
end
|
182
|
+
|
183
|
+
add_index "spree_gateways", ["active"], name: "index_spree_gateways_on_active"
|
184
|
+
add_index "spree_gateways", ["test_mode"], name: "index_spree_gateways_on_test_mode"
|
185
|
+
|
186
|
+
create_table "spree_inventory_units", force: true do |t|
|
188
187
|
t.string "state"
|
189
188
|
t.integer "variant_id"
|
190
189
|
t.integer "order_id"
|
@@ -193,27 +192,14 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
193
192
|
t.datetime "updated_at"
|
194
193
|
t.boolean "pending", default: true
|
195
194
|
t.integer "line_item_id"
|
196
|
-
t.integer "carton_id"
|
197
195
|
end
|
198
196
|
|
199
|
-
add_index "spree_inventory_units", ["carton_id"], name: "index_spree_inventory_units_on_carton_id"
|
200
197
|
add_index "spree_inventory_units", ["line_item_id"], name: "index_spree_inventory_units_on_line_item_id"
|
201
198
|
add_index "spree_inventory_units", ["order_id"], name: "index_inventory_units_on_order_id"
|
202
199
|
add_index "spree_inventory_units", ["shipment_id"], name: "index_inventory_units_on_shipment_id"
|
203
200
|
add_index "spree_inventory_units", ["variant_id"], name: "index_inventory_units_on_variant_id"
|
204
201
|
|
205
|
-
create_table "
|
206
|
-
t.integer "line_item_id", null: false
|
207
|
-
t.integer "action_id", null: false
|
208
|
-
t.integer "quantity", default: 0
|
209
|
-
t.datetime "created_at"
|
210
|
-
t.datetime "updated_at"
|
211
|
-
end
|
212
|
-
|
213
|
-
add_index "spree_line_item_actions", ["action_id"], name: "index_spree_line_item_actions_on_action_id"
|
214
|
-
add_index "spree_line_item_actions", ["line_item_id"], name: "index_spree_line_item_actions_on_line_item_id"
|
215
|
-
|
216
|
-
create_table "spree_line_items", force: :cascade do |t|
|
202
|
+
create_table "spree_line_items", force: true do |t|
|
217
203
|
t.integer "variant_id"
|
218
204
|
t.integer "order_id"
|
219
205
|
t.integer "quantity", null: false
|
@@ -227,13 +213,14 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
227
213
|
t.decimal "additional_tax_total", precision: 10, scale: 2, default: 0.0
|
228
214
|
t.decimal "promo_total", precision: 10, scale: 2, default: 0.0
|
229
215
|
t.decimal "included_tax_total", precision: 10, scale: 2, default: 0.0, null: false
|
230
|
-
t.decimal "pre_tax_amount", precision:
|
216
|
+
t.decimal "pre_tax_amount", precision: 8, scale: 2, default: 0.0
|
231
217
|
end
|
232
218
|
|
233
219
|
add_index "spree_line_items", ["order_id"], name: "index_spree_line_items_on_order_id"
|
220
|
+
add_index "spree_line_items", ["tax_category_id"], name: "index_spree_line_items_on_tax_category_id"
|
234
221
|
add_index "spree_line_items", ["variant_id"], name: "index_spree_line_items_on_variant_id"
|
235
222
|
|
236
|
-
create_table "spree_log_entries", force:
|
223
|
+
create_table "spree_log_entries", force: true do |t|
|
237
224
|
t.integer "source_id"
|
238
225
|
t.string "source_type"
|
239
226
|
t.text "details"
|
@@ -243,14 +230,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
243
230
|
|
244
231
|
add_index "spree_log_entries", ["source_id", "source_type"], name: "index_spree_log_entries_on_source_id_and_source_type"
|
245
232
|
|
246
|
-
create_table "
|
247
|
-
t.integer "prototype_id"
|
248
|
-
t.integer "option_type_id"
|
249
|
-
t.datetime "created_at"
|
250
|
-
t.datetime "updated_at"
|
251
|
-
end
|
252
|
-
|
253
|
-
create_table "spree_option_types", force: :cascade do |t|
|
233
|
+
create_table "spree_option_types", force: true do |t|
|
254
234
|
t.string "name", limit: 100
|
255
235
|
t.string "presentation", limit: 100
|
256
236
|
t.integer "position", default: 0, null: false
|
@@ -260,7 +240,12 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
260
240
|
|
261
241
|
add_index "spree_option_types", ["position"], name: "index_spree_option_types_on_position"
|
262
242
|
|
263
|
-
create_table "
|
243
|
+
create_table "spree_option_types_prototypes", id: false, force: true do |t|
|
244
|
+
t.integer "prototype_id"
|
245
|
+
t.integer "option_type_id"
|
246
|
+
end
|
247
|
+
|
248
|
+
create_table "spree_option_values", force: true do |t|
|
264
249
|
t.integer "position"
|
265
250
|
t.string "name"
|
266
251
|
t.string "presentation"
|
@@ -272,7 +257,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
272
257
|
add_index "spree_option_values", ["option_type_id"], name: "index_spree_option_values_on_option_type_id"
|
273
258
|
add_index "spree_option_values", ["position"], name: "index_spree_option_values_on_position"
|
274
259
|
|
275
|
-
create_table "spree_option_values_variants",
|
260
|
+
create_table "spree_option_values_variants", id: false, force: true do |t|
|
276
261
|
t.integer "variant_id"
|
277
262
|
t.integer "option_value_id"
|
278
263
|
end
|
@@ -280,24 +265,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
280
265
|
add_index "spree_option_values_variants", ["variant_id", "option_value_id"], name: "index_option_values_variants_on_variant_id_and_option_value_id"
|
281
266
|
add_index "spree_option_values_variants", ["variant_id"], name: "index_spree_option_values_variants_on_variant_id"
|
282
267
|
|
283
|
-
create_table "
|
284
|
-
t.integer "order_id", null: false
|
285
|
-
t.datetime "created_at"
|
286
|
-
end
|
287
|
-
|
288
|
-
add_index "spree_order_mutexes", ["order_id"], name: "index_spree_order_mutexes_on_order_id", unique: true
|
289
|
-
|
290
|
-
create_table "spree_order_stock_locations", force: :cascade do |t|
|
291
|
-
t.integer "order_id"
|
292
|
-
t.integer "variant_id"
|
293
|
-
t.integer "quantity"
|
294
|
-
t.integer "stock_location_id"
|
295
|
-
t.boolean "shipment_fulfilled", default: false, null: false
|
296
|
-
t.datetime "created_at"
|
297
|
-
t.datetime "updated_at"
|
298
|
-
end
|
299
|
-
|
300
|
-
create_table "spree_orders", force: :cascade do |t|
|
268
|
+
create_table "spree_orders", force: true do |t|
|
301
269
|
t.string "number", limit: 32
|
302
270
|
t.decimal "item_total", precision: 10, scale: 2, default: 0.0, null: false
|
303
271
|
t.decimal "total", precision: 10, scale: 2, default: 0.0, null: false
|
@@ -308,6 +276,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
308
276
|
t.integer "bill_address_id"
|
309
277
|
t.integer "ship_address_id"
|
310
278
|
t.decimal "payment_total", precision: 10, scale: 2, default: 0.0
|
279
|
+
t.integer "shipping_method_id"
|
311
280
|
t.string "shipment_state"
|
312
281
|
t.string "payment_state"
|
313
282
|
t.string "email"
|
@@ -326,36 +295,35 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
326
295
|
t.integer "approver_id"
|
327
296
|
t.datetime "approved_at"
|
328
297
|
t.boolean "confirmation_delivered", default: false
|
298
|
+
t.boolean "considered_risky", default: false
|
329
299
|
t.string "guest_token"
|
330
300
|
t.datetime "canceled_at"
|
331
301
|
t.integer "canceler_id"
|
332
302
|
t.integer "store_id"
|
333
|
-
t.
|
334
|
-
t.boolean "frontend_viewable", default: true, null: false
|
303
|
+
t.integer "state_lock_version", default: 0, null: false
|
335
304
|
end
|
336
305
|
|
337
306
|
add_index "spree_orders", ["approver_id"], name: "index_spree_orders_on_approver_id"
|
338
307
|
add_index "spree_orders", ["bill_address_id"], name: "index_spree_orders_on_bill_address_id"
|
339
308
|
add_index "spree_orders", ["completed_at"], name: "index_spree_orders_on_completed_at"
|
309
|
+
add_index "spree_orders", ["confirmation_delivered"], name: "index_spree_orders_on_confirmation_delivered"
|
310
|
+
add_index "spree_orders", ["considered_risky"], name: "index_spree_orders_on_considered_risky"
|
340
311
|
add_index "spree_orders", ["created_by_id"], name: "index_spree_orders_on_created_by_id"
|
341
312
|
add_index "spree_orders", ["guest_token"], name: "index_spree_orders_on_guest_token"
|
342
313
|
add_index "spree_orders", ["number"], name: "index_spree_orders_on_number"
|
343
314
|
add_index "spree_orders", ["ship_address_id"], name: "index_spree_orders_on_ship_address_id"
|
315
|
+
add_index "spree_orders", ["shipping_method_id"], name: "index_spree_orders_on_shipping_method_id"
|
344
316
|
add_index "spree_orders", ["user_id", "created_by_id"], name: "index_spree_orders_on_user_id_and_created_by_id"
|
345
317
|
add_index "spree_orders", ["user_id"], name: "index_spree_orders_on_user_id"
|
346
318
|
|
347
|
-
create_table "spree_orders_promotions",
|
348
|
-
t.integer
|
349
|
-
t.integer
|
350
|
-
t.integer "promotion_code_id"
|
351
|
-
t.datetime "created_at"
|
352
|
-
t.datetime "updated_at"
|
319
|
+
create_table "spree_orders_promotions", id: false, force: true do |t|
|
320
|
+
t.integer "order_id"
|
321
|
+
t.integer "promotion_id"
|
353
322
|
end
|
354
323
|
|
355
324
|
add_index "spree_orders_promotions", ["order_id", "promotion_id"], name: "index_spree_orders_promotions_on_order_id_and_promotion_id"
|
356
|
-
add_index "spree_orders_promotions", ["promotion_code_id"], name: "index_spree_orders_promotions_on_promotion_code_id"
|
357
325
|
|
358
|
-
create_table "spree_payment_capture_events", force:
|
326
|
+
create_table "spree_payment_capture_events", force: true do |t|
|
359
327
|
t.decimal "amount", precision: 10, scale: 2, default: 0.0
|
360
328
|
t.integer "payment_id"
|
361
329
|
t.datetime "created_at"
|
@@ -364,23 +332,23 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
364
332
|
|
365
333
|
add_index "spree_payment_capture_events", ["payment_id"], name: "index_spree_payment_capture_events_on_payment_id"
|
366
334
|
|
367
|
-
create_table "spree_payment_methods", force:
|
335
|
+
create_table "spree_payment_methods", force: true do |t|
|
368
336
|
t.string "type"
|
369
337
|
t.string "name"
|
370
338
|
t.text "description"
|
371
|
-
t.boolean "active",
|
339
|
+
t.boolean "active", default: true
|
340
|
+
t.string "environment", default: "development"
|
372
341
|
t.datetime "deleted_at"
|
373
342
|
t.datetime "created_at"
|
374
343
|
t.datetime "updated_at"
|
375
344
|
t.string "display_on"
|
376
345
|
t.boolean "auto_capture"
|
377
346
|
t.text "preferences"
|
378
|
-
t.string "preference_source"
|
379
347
|
end
|
380
348
|
|
381
349
|
add_index "spree_payment_methods", ["id", "type"], name: "index_spree_payment_methods_on_id_and_type"
|
382
350
|
|
383
|
-
create_table "spree_payments", force:
|
351
|
+
create_table "spree_payments", force: true do |t|
|
384
352
|
t.decimal "amount", precision: 10, scale: 2, default: 0.0, null: false
|
385
353
|
t.integer "order_id"
|
386
354
|
t.integer "source_id"
|
@@ -391,7 +359,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
391
359
|
t.string "avs_response"
|
392
360
|
t.datetime "created_at"
|
393
361
|
t.datetime "updated_at"
|
394
|
-
t.string "
|
362
|
+
t.string "identifier"
|
395
363
|
t.string "cvv_response_code"
|
396
364
|
t.string "cvv_response_message"
|
397
365
|
end
|
@@ -400,7 +368,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
400
368
|
add_index "spree_payments", ["payment_method_id"], name: "index_spree_payments_on_payment_method_id"
|
401
369
|
add_index "spree_payments", ["source_id", "source_type"], name: "index_spree_payments_on_source_id_and_source_type"
|
402
370
|
|
403
|
-
create_table "spree_preferences", force:
|
371
|
+
create_table "spree_preferences", force: true do |t|
|
404
372
|
t.text "value"
|
405
373
|
t.string "key"
|
406
374
|
t.datetime "created_at"
|
@@ -409,17 +377,17 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
409
377
|
|
410
378
|
add_index "spree_preferences", ["key"], name: "index_spree_preferences_on_key", unique: true
|
411
379
|
|
412
|
-
create_table "spree_prices", force:
|
413
|
-
t.integer "variant_id",
|
380
|
+
create_table "spree_prices", force: true do |t|
|
381
|
+
t.integer "variant_id", null: false
|
414
382
|
t.decimal "amount", precision: 10, scale: 2
|
415
383
|
t.string "currency"
|
416
384
|
t.datetime "deleted_at"
|
417
|
-
t.boolean "is_default", default: true, null: false
|
418
385
|
end
|
419
386
|
|
387
|
+
add_index "spree_prices", ["deleted_at"], name: "index_spree_prices_on_deleted_at"
|
420
388
|
add_index "spree_prices", ["variant_id", "currency"], name: "index_spree_prices_on_variant_id_and_currency"
|
421
389
|
|
422
|
-
create_table "spree_product_option_types", force:
|
390
|
+
create_table "spree_product_option_types", force: true do |t|
|
423
391
|
t.integer "position"
|
424
392
|
t.integer "product_id"
|
425
393
|
t.integer "option_type_id"
|
@@ -431,17 +399,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
431
399
|
add_index "spree_product_option_types", ["position"], name: "index_spree_product_option_types_on_position"
|
432
400
|
add_index "spree_product_option_types", ["product_id"], name: "index_spree_product_option_types_on_product_id"
|
433
401
|
|
434
|
-
create_table "
|
435
|
-
t.integer "product_id"
|
436
|
-
t.integer "promotion_rule_id"
|
437
|
-
t.datetime "created_at"
|
438
|
-
t.datetime "updated_at"
|
439
|
-
end
|
440
|
-
|
441
|
-
add_index "spree_product_promotion_rules", ["product_id"], name: "index_products_promotion_rules_on_product_id"
|
442
|
-
add_index "spree_product_promotion_rules", ["promotion_rule_id"], name: "index_products_promotion_rules_on_promotion_rule_id"
|
443
|
-
|
444
|
-
create_table "spree_product_properties", force: :cascade do |t|
|
402
|
+
create_table "spree_product_properties", force: true do |t|
|
445
403
|
t.string "value"
|
446
404
|
t.integer "product_id"
|
447
405
|
t.integer "property_id"
|
@@ -454,7 +412,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
454
412
|
add_index "spree_product_properties", ["product_id"], name: "index_product_properties_on_product_id"
|
455
413
|
add_index "spree_product_properties", ["property_id"], name: "index_spree_product_properties_on_property_id"
|
456
414
|
|
457
|
-
create_table "spree_products", force:
|
415
|
+
create_table "spree_products", force: true do |t|
|
458
416
|
t.string "name", default: "", null: false
|
459
417
|
t.text "description"
|
460
418
|
t.datetime "available_on"
|
@@ -473,9 +431,20 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
473
431
|
add_index "spree_products", ["available_on"], name: "index_spree_products_on_available_on"
|
474
432
|
add_index "spree_products", ["deleted_at"], name: "index_spree_products_on_deleted_at"
|
475
433
|
add_index "spree_products", ["name"], name: "index_spree_products_on_name"
|
476
|
-
add_index "spree_products", ["
|
434
|
+
add_index "spree_products", ["shipping_category_id"], name: "index_spree_products_on_shipping_category_id"
|
435
|
+
add_index "spree_products", ["slug"], name: "index_spree_products_on_slug"
|
436
|
+
add_index "spree_products", ["slug"], name: "permalink_idx_unique", unique: true
|
437
|
+
add_index "spree_products", ["tax_category_id"], name: "index_spree_products_on_tax_category_id"
|
438
|
+
|
439
|
+
create_table "spree_products_promotion_rules", id: false, force: true do |t|
|
440
|
+
t.integer "product_id"
|
441
|
+
t.integer "promotion_rule_id"
|
442
|
+
end
|
443
|
+
|
444
|
+
add_index "spree_products_promotion_rules", ["product_id"], name: "index_products_promotion_rules_on_product_id"
|
445
|
+
add_index "spree_products_promotion_rules", ["promotion_rule_id"], name: "index_products_promotion_rules_on_promotion_rule_id"
|
477
446
|
|
478
|
-
create_table "spree_products_taxons", force:
|
447
|
+
create_table "spree_products_taxons", force: true do |t|
|
479
448
|
t.integer "product_id"
|
480
449
|
t.integer "taxon_id"
|
481
450
|
t.integer "position"
|
@@ -485,7 +454,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
485
454
|
add_index "spree_products_taxons", ["product_id"], name: "index_spree_products_taxons_on_product_id"
|
486
455
|
add_index "spree_products_taxons", ["taxon_id"], name: "index_spree_products_taxons_on_taxon_id"
|
487
456
|
|
488
|
-
create_table "spree_promotion_action_line_items", force:
|
457
|
+
create_table "spree_promotion_action_line_items", force: true do |t|
|
489
458
|
t.integer "promotion_action_id"
|
490
459
|
t.integer "variant_id"
|
491
460
|
t.integer "quantity", default: 1
|
@@ -494,46 +463,24 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
494
463
|
add_index "spree_promotion_action_line_items", ["promotion_action_id"], name: "index_spree_promotion_action_line_items_on_promotion_action_id"
|
495
464
|
add_index "spree_promotion_action_line_items", ["variant_id"], name: "index_spree_promotion_action_line_items_on_variant_id"
|
496
465
|
|
497
|
-
create_table "spree_promotion_actions", force:
|
466
|
+
create_table "spree_promotion_actions", force: true do |t|
|
498
467
|
t.integer "promotion_id"
|
499
468
|
t.integer "position"
|
500
469
|
t.string "type"
|
501
470
|
t.datetime "deleted_at"
|
502
|
-
t.text "preferences"
|
503
471
|
end
|
504
472
|
|
505
473
|
add_index "spree_promotion_actions", ["deleted_at"], name: "index_spree_promotion_actions_on_deleted_at"
|
506
474
|
add_index "spree_promotion_actions", ["id", "type"], name: "index_spree_promotion_actions_on_id_and_type"
|
507
475
|
add_index "spree_promotion_actions", ["promotion_id"], name: "index_spree_promotion_actions_on_promotion_id"
|
508
476
|
|
509
|
-
create_table "spree_promotion_categories", force:
|
477
|
+
create_table "spree_promotion_categories", force: true do |t|
|
510
478
|
t.string "name"
|
511
479
|
t.datetime "created_at"
|
512
480
|
t.datetime "updated_at"
|
513
|
-
t.string "code"
|
514
|
-
end
|
515
|
-
|
516
|
-
create_table "spree_promotion_codes", force: :cascade do |t|
|
517
|
-
t.integer "promotion_id", null: false
|
518
|
-
t.string "value", null: false
|
519
|
-
t.datetime "created_at"
|
520
|
-
t.datetime "updated_at"
|
521
|
-
end
|
522
|
-
|
523
|
-
add_index "spree_promotion_codes", ["promotion_id"], name: "index_spree_promotion_codes_on_promotion_id"
|
524
|
-
add_index "spree_promotion_codes", ["value"], name: "index_spree_promotion_codes_on_value", unique: true
|
525
|
-
|
526
|
-
create_table "spree_promotion_rule_taxons", force: :cascade do |t|
|
527
|
-
t.integer "taxon_id"
|
528
|
-
t.integer "promotion_rule_id"
|
529
|
-
t.datetime "created_at"
|
530
|
-
t.datetime "updated_at"
|
531
481
|
end
|
532
482
|
|
533
|
-
|
534
|
-
add_index "spree_promotion_rule_taxons", ["taxon_id"], name: "index_spree_promotion_rule_taxons_on_taxon_id"
|
535
|
-
|
536
|
-
create_table "spree_promotion_rules", force: :cascade do |t|
|
483
|
+
create_table "spree_promotion_rules", force: true do |t|
|
537
484
|
t.integer "promotion_id"
|
538
485
|
t.integer "user_id"
|
539
486
|
t.integer "product_group_id"
|
@@ -548,17 +495,15 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
548
495
|
add_index "spree_promotion_rules", ["promotion_id"], name: "index_spree_promotion_rules_on_promotion_id"
|
549
496
|
add_index "spree_promotion_rules", ["user_id"], name: "index_promotion_rules_on_user_id"
|
550
497
|
|
551
|
-
create_table "spree_promotion_rules_users",
|
552
|
-
t.integer
|
553
|
-
t.integer
|
554
|
-
t.datetime "created_at"
|
555
|
-
t.datetime "updated_at"
|
498
|
+
create_table "spree_promotion_rules_users", id: false, force: true do |t|
|
499
|
+
t.integer "user_id"
|
500
|
+
t.integer "promotion_rule_id"
|
556
501
|
end
|
557
502
|
|
558
503
|
add_index "spree_promotion_rules_users", ["promotion_rule_id"], name: "index_promotion_rules_users_on_promotion_rule_id"
|
559
504
|
add_index "spree_promotion_rules_users", ["user_id"], name: "index_promotion_rules_users_on_user_id"
|
560
505
|
|
561
|
-
create_table "spree_promotions", force:
|
506
|
+
create_table "spree_promotions", force: true do |t|
|
562
507
|
t.string "description"
|
563
508
|
t.datetime "expires_at"
|
564
509
|
t.datetime "starts_at"
|
@@ -572,58 +517,42 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
572
517
|
t.datetime "created_at"
|
573
518
|
t.datetime "updated_at"
|
574
519
|
t.integer "promotion_category_id"
|
575
|
-
t.integer "per_code_usage_limit"
|
576
|
-
t.boolean "apply_automatically", default: false
|
577
520
|
end
|
578
521
|
|
579
522
|
add_index "spree_promotions", ["advertise"], name: "index_spree_promotions_on_advertise"
|
580
|
-
add_index "spree_promotions", ["apply_automatically"], name: "index_spree_promotions_on_apply_automatically"
|
581
523
|
add_index "spree_promotions", ["code"], name: "index_spree_promotions_on_code"
|
582
524
|
add_index "spree_promotions", ["expires_at"], name: "index_spree_promotions_on_expires_at"
|
583
525
|
add_index "spree_promotions", ["id", "type"], name: "index_spree_promotions_on_id_and_type"
|
584
526
|
add_index "spree_promotions", ["promotion_category_id"], name: "index_spree_promotions_on_promotion_category_id"
|
585
527
|
add_index "spree_promotions", ["starts_at"], name: "index_spree_promotions_on_starts_at"
|
586
528
|
|
587
|
-
create_table "spree_properties", force:
|
529
|
+
create_table "spree_properties", force: true do |t|
|
588
530
|
t.string "name"
|
589
531
|
t.string "presentation", null: false
|
590
532
|
t.datetime "created_at"
|
591
533
|
t.datetime "updated_at"
|
592
534
|
end
|
593
535
|
|
594
|
-
create_table "
|
595
|
-
t.integer
|
596
|
-
t.integer
|
597
|
-
t.datetime "created_at"
|
598
|
-
t.datetime "updated_at"
|
599
|
-
end
|
600
|
-
|
601
|
-
create_table "spree_prototype_taxons", force: :cascade do |t|
|
602
|
-
t.integer "taxon_id"
|
603
|
-
t.integer "prototype_id"
|
604
|
-
t.datetime "created_at"
|
605
|
-
t.datetime "updated_at"
|
536
|
+
create_table "spree_properties_prototypes", id: false, force: true do |t|
|
537
|
+
t.integer "prototype_id"
|
538
|
+
t.integer "property_id"
|
606
539
|
end
|
607
540
|
|
608
|
-
|
609
|
-
add_index "spree_prototype_taxons", ["taxon_id"], name: "index_spree_prototype_taxons_on_taxon_id"
|
610
|
-
|
611
|
-
create_table "spree_prototypes", force: :cascade do |t|
|
541
|
+
create_table "spree_prototypes", force: true do |t|
|
612
542
|
t.string "name"
|
613
543
|
t.datetime "created_at"
|
614
544
|
t.datetime "updated_at"
|
615
545
|
end
|
616
546
|
|
617
|
-
create_table "spree_refund_reasons", force:
|
547
|
+
create_table "spree_refund_reasons", force: true do |t|
|
618
548
|
t.string "name"
|
619
549
|
t.boolean "active", default: true
|
620
550
|
t.boolean "mutable", default: true
|
621
551
|
t.datetime "created_at"
|
622
552
|
t.datetime "updated_at"
|
623
|
-
t.string "code"
|
624
553
|
end
|
625
554
|
|
626
|
-
create_table "spree_refunds", force:
|
555
|
+
create_table "spree_refunds", force: true do |t|
|
627
556
|
t.integer "payment_id"
|
628
557
|
t.decimal "amount", precision: 10, scale: 2, default: 0.0, null: false
|
629
558
|
t.string "transaction_id"
|
@@ -635,14 +564,14 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
635
564
|
|
636
565
|
add_index "spree_refunds", ["refund_reason_id"], name: "index_refunds_on_refund_reason_id"
|
637
566
|
|
638
|
-
create_table "spree_reimbursement_credits", force:
|
567
|
+
create_table "spree_reimbursement_credits", force: true do |t|
|
639
568
|
t.decimal "amount", precision: 10, scale: 2, default: 0.0, null: false
|
640
569
|
t.integer "reimbursement_id"
|
641
570
|
t.integer "creditable_id"
|
642
571
|
t.string "creditable_type"
|
643
572
|
end
|
644
573
|
|
645
|
-
create_table "spree_reimbursement_types", force:
|
574
|
+
create_table "spree_reimbursement_types", force: true do |t|
|
646
575
|
t.string "name"
|
647
576
|
t.boolean "active", default: true
|
648
577
|
t.boolean "mutable", default: true
|
@@ -653,7 +582,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
653
582
|
|
654
583
|
add_index "spree_reimbursement_types", ["type"], name: "index_spree_reimbursement_types_on_type"
|
655
584
|
|
656
|
-
create_table "spree_reimbursements", force:
|
585
|
+
create_table "spree_reimbursements", force: true do |t|
|
657
586
|
t.string "number"
|
658
587
|
t.string "reimbursement_status"
|
659
588
|
t.integer "customer_return_id"
|
@@ -666,7 +595,15 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
666
595
|
add_index "spree_reimbursements", ["customer_return_id"], name: "index_spree_reimbursements_on_customer_return_id"
|
667
596
|
add_index "spree_reimbursements", ["order_id"], name: "index_spree_reimbursements_on_order_id"
|
668
597
|
|
669
|
-
create_table "
|
598
|
+
create_table "spree_return_authorization_reasons", force: true do |t|
|
599
|
+
t.string "name"
|
600
|
+
t.boolean "active", default: true
|
601
|
+
t.boolean "mutable", default: true
|
602
|
+
t.datetime "created_at"
|
603
|
+
t.datetime "updated_at"
|
604
|
+
end
|
605
|
+
|
606
|
+
create_table "spree_return_authorizations", force: true do |t|
|
670
607
|
t.string "number"
|
671
608
|
t.string "state"
|
672
609
|
t.integer "order_id"
|
@@ -674,20 +611,20 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
674
611
|
t.datetime "created_at"
|
675
612
|
t.datetime "updated_at"
|
676
613
|
t.integer "stock_location_id"
|
677
|
-
t.integer "
|
614
|
+
t.integer "return_authorization_reason_id"
|
678
615
|
end
|
679
616
|
|
680
|
-
add_index "spree_return_authorizations", ["
|
617
|
+
add_index "spree_return_authorizations", ["return_authorization_reason_id"], name: "index_return_authorizations_on_return_authorization_reason_id"
|
681
618
|
|
682
|
-
create_table "spree_return_items", force:
|
619
|
+
create_table "spree_return_items", force: true do |t|
|
683
620
|
t.integer "return_authorization_id"
|
684
621
|
t.integer "inventory_unit_id"
|
685
622
|
t.integer "exchange_variant_id"
|
686
623
|
t.datetime "created_at"
|
687
624
|
t.datetime "updated_at"
|
688
|
-
t.decimal "pre_tax_amount", precision: 12, scale: 4, default: 0.0,
|
689
|
-
t.decimal "included_tax_total", precision: 12, scale: 4, default: 0.0,
|
690
|
-
t.decimal "additional_tax_total", precision: 12, scale: 4, default: 0.0,
|
625
|
+
t.decimal "pre_tax_amount", precision: 12, scale: 4, default: 0.0, null: false
|
626
|
+
t.decimal "included_tax_total", precision: 12, scale: 4, default: 0.0, null: false
|
627
|
+
t.decimal "additional_tax_total", precision: 12, scale: 4, default: 0.0, null: false
|
691
628
|
t.string "reception_status"
|
692
629
|
t.string "acceptance_status"
|
693
630
|
t.integer "customer_return_id"
|
@@ -696,36 +633,24 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
696
633
|
t.text "acceptance_status_errors"
|
697
634
|
t.integer "preferred_reimbursement_type_id"
|
698
635
|
t.integer "override_reimbursement_type_id"
|
699
|
-
t.boolean "resellable", default: true, null: false
|
700
|
-
t.integer "return_reason_id"
|
701
636
|
end
|
702
637
|
|
703
638
|
add_index "spree_return_items", ["customer_return_id"], name: "index_return_items_on_customer_return_id"
|
704
639
|
add_index "spree_return_items", ["exchange_inventory_unit_id"], name: "index_spree_return_items_on_exchange_inventory_unit_id"
|
705
640
|
|
706
|
-
create_table "
|
707
|
-
t.string "name"
|
708
|
-
t.boolean "active", default: true
|
709
|
-
t.boolean "mutable", default: true
|
710
|
-
t.datetime "created_at"
|
711
|
-
t.datetime "updated_at"
|
712
|
-
end
|
713
|
-
|
714
|
-
create_table "spree_roles", force: :cascade do |t|
|
641
|
+
create_table "spree_roles", force: true do |t|
|
715
642
|
t.string "name"
|
716
643
|
end
|
717
644
|
|
718
|
-
create_table "spree_roles_users",
|
719
|
-
t.integer
|
720
|
-
t.integer
|
721
|
-
t.datetime "created_at"
|
722
|
-
t.datetime "updated_at"
|
645
|
+
create_table "spree_roles_users", id: false, force: true do |t|
|
646
|
+
t.integer "role_id"
|
647
|
+
t.integer "user_id"
|
723
648
|
end
|
724
649
|
|
725
650
|
add_index "spree_roles_users", ["role_id"], name: "index_spree_roles_users_on_role_id"
|
726
651
|
add_index "spree_roles_users", ["user_id"], name: "index_spree_roles_users_on_user_id"
|
727
652
|
|
728
|
-
create_table "spree_shipments", force:
|
653
|
+
create_table "spree_shipments", force: true do |t|
|
729
654
|
t.string "tracking"
|
730
655
|
t.string "number"
|
731
656
|
t.decimal "cost", precision: 10, scale: 2, default: 0.0
|
@@ -740,7 +665,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
740
665
|
t.decimal "additional_tax_total", precision: 10, scale: 2, default: 0.0
|
741
666
|
t.decimal "promo_total", precision: 10, scale: 2, default: 0.0
|
742
667
|
t.decimal "included_tax_total", precision: 10, scale: 2, default: 0.0, null: false
|
743
|
-
t.decimal "pre_tax_amount", precision:
|
668
|
+
t.decimal "pre_tax_amount", precision: 8, scale: 2, default: 0.0
|
744
669
|
end
|
745
670
|
|
746
671
|
add_index "spree_shipments", ["address_id"], name: "index_spree_shipments_on_address_id"
|
@@ -748,13 +673,13 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
748
673
|
add_index "spree_shipments", ["order_id"], name: "index_spree_shipments_on_order_id"
|
749
674
|
add_index "spree_shipments", ["stock_location_id"], name: "index_spree_shipments_on_stock_location_id"
|
750
675
|
|
751
|
-
create_table "spree_shipping_categories", force:
|
676
|
+
create_table "spree_shipping_categories", force: true do |t|
|
752
677
|
t.string "name"
|
753
678
|
t.datetime "created_at"
|
754
679
|
t.datetime "updated_at"
|
755
680
|
end
|
756
681
|
|
757
|
-
create_table "spree_shipping_method_categories", force:
|
682
|
+
create_table "spree_shipping_method_categories", force: true do |t|
|
758
683
|
t.integer "shipping_method_id", null: false
|
759
684
|
t.integer "shipping_category_id", null: false
|
760
685
|
t.datetime "created_at"
|
@@ -764,14 +689,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
764
689
|
add_index "spree_shipping_method_categories", ["shipping_category_id", "shipping_method_id"], name: "unique_spree_shipping_method_categories", unique: true
|
765
690
|
add_index "spree_shipping_method_categories", ["shipping_method_id"], name: "index_spree_shipping_method_categories_on_shipping_method_id"
|
766
691
|
|
767
|
-
create_table "
|
768
|
-
t.integer "shipping_method_id"
|
769
|
-
t.integer "zone_id"
|
770
|
-
t.datetime "created_at"
|
771
|
-
t.datetime "updated_at"
|
772
|
-
end
|
773
|
-
|
774
|
-
create_table "spree_shipping_methods", force: :cascade do |t|
|
692
|
+
create_table "spree_shipping_methods", force: true do |t|
|
775
693
|
t.string "name"
|
776
694
|
t.string "display_on"
|
777
695
|
t.datetime "deleted_at"
|
@@ -783,9 +701,15 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
783
701
|
t.string "code"
|
784
702
|
end
|
785
703
|
|
704
|
+
add_index "spree_shipping_methods", ["deleted_at"], name: "index_spree_shipping_methods_on_deleted_at"
|
786
705
|
add_index "spree_shipping_methods", ["tax_category_id"], name: "index_spree_shipping_methods_on_tax_category_id"
|
787
706
|
|
788
|
-
create_table "
|
707
|
+
create_table "spree_shipping_methods_zones", id: false, force: true do |t|
|
708
|
+
t.integer "shipping_method_id"
|
709
|
+
t.integer "zone_id"
|
710
|
+
end
|
711
|
+
|
712
|
+
create_table "spree_shipping_rates", force: true do |t|
|
789
713
|
t.integer "shipment_id"
|
790
714
|
t.integer "shipping_method_id"
|
791
715
|
t.boolean "selected", default: false
|
@@ -795,9 +719,11 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
795
719
|
t.integer "tax_rate_id"
|
796
720
|
end
|
797
721
|
|
722
|
+
add_index "spree_shipping_rates", ["selected"], name: "index_spree_shipping_rates_on_selected"
|
798
723
|
add_index "spree_shipping_rates", ["shipment_id", "shipping_method_id"], name: "spree_shipping_rates_join_index", unique: true
|
724
|
+
add_index "spree_shipping_rates", ["tax_rate_id"], name: "index_spree_shipping_rates_on_tax_rate_id"
|
799
725
|
|
800
|
-
create_table "spree_state_changes", force:
|
726
|
+
create_table "spree_state_changes", force: true do |t|
|
801
727
|
t.string "name"
|
802
728
|
t.string "previous_state"
|
803
729
|
t.integer "stateful_id"
|
@@ -811,7 +737,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
811
737
|
add_index "spree_state_changes", ["stateful_id", "stateful_type"], name: "index_spree_state_changes_on_stateful_id_and_stateful_type"
|
812
738
|
add_index "spree_state_changes", ["user_id"], name: "index_spree_state_changes_on_user_id"
|
813
739
|
|
814
|
-
create_table "spree_states", force:
|
740
|
+
create_table "spree_states", force: true do |t|
|
815
741
|
t.string "name"
|
816
742
|
t.string "abbr"
|
817
743
|
t.integer "country_id"
|
@@ -820,7 +746,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
820
746
|
|
821
747
|
add_index "spree_states", ["country_id"], name: "index_spree_states_on_country_id"
|
822
748
|
|
823
|
-
create_table "spree_stock_items", force:
|
749
|
+
create_table "spree_stock_items", force: true do |t|
|
824
750
|
t.integer "stock_location_id"
|
825
751
|
t.integer "variant_id"
|
826
752
|
t.integer "count_on_hand", default: 0, null: false
|
@@ -830,16 +756,16 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
830
756
|
t.datetime "deleted_at"
|
831
757
|
end
|
832
758
|
|
759
|
+
add_index "spree_stock_items", ["backorderable"], name: "index_spree_stock_items_on_backorderable"
|
833
760
|
add_index "spree_stock_items", ["deleted_at"], name: "index_spree_stock_items_on_deleted_at"
|
834
761
|
add_index "spree_stock_items", ["stock_location_id", "variant_id"], name: "stock_item_by_loc_and_var_id"
|
835
762
|
add_index "spree_stock_items", ["stock_location_id"], name: "index_spree_stock_items_on_stock_location_id"
|
836
|
-
add_index "spree_stock_items", ["variant_id", "stock_location_id"], name: "index_spree_stock_items_on_variant_id_and_stock_location_id", unique: true, where: "deleted_at is null"
|
837
763
|
|
838
|
-
create_table "spree_stock_locations", force:
|
764
|
+
create_table "spree_stock_locations", force: true do |t|
|
839
765
|
t.string "name"
|
840
766
|
t.datetime "created_at"
|
841
767
|
t.datetime "updated_at"
|
842
|
-
t.boolean "default",
|
768
|
+
t.boolean "default", default: false, null: false
|
843
769
|
t.string "address1"
|
844
770
|
t.string "address2"
|
845
771
|
t.string "city"
|
@@ -848,126 +774,45 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
848
774
|
t.integer "country_id"
|
849
775
|
t.string "zipcode"
|
850
776
|
t.string "phone"
|
851
|
-
t.boolean "active",
|
852
|
-
t.boolean "backorderable_default",
|
853
|
-
t.boolean "propagate_all_variants",
|
777
|
+
t.boolean "active", default: true
|
778
|
+
t.boolean "backorderable_default", default: false
|
779
|
+
t.boolean "propagate_all_variants", default: true
|
854
780
|
t.string "admin_name"
|
855
|
-
t.integer "position", default: 0
|
856
|
-
t.boolean "restock_inventory", default: true, null: false
|
857
|
-
t.boolean "fulfillable", default: true, null: false
|
858
|
-
t.string "code"
|
859
|
-
t.boolean "check_stock_on_transfer", default: true
|
860
781
|
end
|
861
782
|
|
783
|
+
add_index "spree_stock_locations", ["active"], name: "index_spree_stock_locations_on_active"
|
784
|
+
add_index "spree_stock_locations", ["backorderable_default"], name: "index_spree_stock_locations_on_backorderable_default"
|
862
785
|
add_index "spree_stock_locations", ["country_id"], name: "index_spree_stock_locations_on_country_id"
|
786
|
+
add_index "spree_stock_locations", ["propagate_all_variants"], name: "index_spree_stock_locations_on_propagate_all_variants"
|
863
787
|
add_index "spree_stock_locations", ["state_id"], name: "index_spree_stock_locations_on_state_id"
|
864
788
|
|
865
|
-
create_table "spree_stock_movements", force:
|
789
|
+
create_table "spree_stock_movements", force: true do |t|
|
866
790
|
t.integer "stock_item_id"
|
867
791
|
t.integer "quantity", default: 0
|
868
792
|
t.string "action"
|
869
|
-
t.datetime "created_at"
|
870
|
-
t.datetime "updated_at"
|
793
|
+
t.datetime "created_at"
|
794
|
+
t.datetime "updated_at"
|
871
795
|
t.integer "originator_id"
|
872
796
|
t.string "originator_type"
|
873
797
|
end
|
874
798
|
|
875
799
|
add_index "spree_stock_movements", ["stock_item_id"], name: "index_spree_stock_movements_on_stock_item_id"
|
876
800
|
|
877
|
-
create_table "spree_stock_transfers", force:
|
878
|
-
t.string "
|
801
|
+
create_table "spree_stock_transfers", force: true do |t|
|
802
|
+
t.string "type"
|
803
|
+
t.string "reference"
|
879
804
|
t.integer "source_location_id"
|
880
805
|
t.integer "destination_location_id"
|
881
806
|
t.datetime "created_at"
|
882
807
|
t.datetime "updated_at"
|
883
808
|
t.string "number"
|
884
|
-
t.datetime "shipped_at"
|
885
|
-
t.datetime "closed_at"
|
886
|
-
t.string "tracking_number"
|
887
|
-
t.integer "created_by_id"
|
888
|
-
t.integer "closed_by_id"
|
889
|
-
t.datetime "finalized_at"
|
890
|
-
t.integer "finalized_by_id"
|
891
|
-
t.datetime "deleted_at"
|
892
809
|
end
|
893
810
|
|
894
|
-
add_index "spree_stock_transfers", ["closed_at"], name: "index_spree_stock_transfers_on_closed_at"
|
895
811
|
add_index "spree_stock_transfers", ["destination_location_id"], name: "index_spree_stock_transfers_on_destination_location_id"
|
896
|
-
add_index "spree_stock_transfers", ["finalized_at"], name: "index_spree_stock_transfers_on_finalized_at"
|
897
812
|
add_index "spree_stock_transfers", ["number"], name: "index_spree_stock_transfers_on_number"
|
898
|
-
add_index "spree_stock_transfers", ["shipped_at"], name: "index_spree_stock_transfers_on_shipped_at"
|
899
813
|
add_index "spree_stock_transfers", ["source_location_id"], name: "index_spree_stock_transfers_on_source_location_id"
|
900
814
|
|
901
|
-
create_table "
|
902
|
-
t.string "name"
|
903
|
-
t.datetime "created_at"
|
904
|
-
t.datetime "updated_at"
|
905
|
-
end
|
906
|
-
|
907
|
-
create_table "spree_store_credit_events", force: :cascade do |t|
|
908
|
-
t.integer "store_credit_id", null: false
|
909
|
-
t.string "action", null: false
|
910
|
-
t.decimal "amount", precision: 8, scale: 2
|
911
|
-
t.decimal "user_total_amount", precision: 8, scale: 2, default: 0.0, null: false
|
912
|
-
t.string "authorization_code", null: false
|
913
|
-
t.datetime "deleted_at"
|
914
|
-
t.integer "originator_id"
|
915
|
-
t.string "originator_type"
|
916
|
-
t.datetime "created_at"
|
917
|
-
t.datetime "updated_at"
|
918
|
-
t.integer "update_reason_id"
|
919
|
-
end
|
920
|
-
|
921
|
-
add_index "spree_store_credit_events", ["deleted_at"], name: "index_spree_store_credit_events_on_deleted_at"
|
922
|
-
add_index "spree_store_credit_events", ["store_credit_id"], name: "index_spree_store_credit_events_on_store_credit_id"
|
923
|
-
|
924
|
-
create_table "spree_store_credit_types", force: :cascade do |t|
|
925
|
-
t.string "name"
|
926
|
-
t.integer "priority"
|
927
|
-
t.datetime "created_at"
|
928
|
-
t.datetime "updated_at"
|
929
|
-
end
|
930
|
-
|
931
|
-
add_index "spree_store_credit_types", ["priority"], name: "index_spree_store_credit_types_on_priority"
|
932
|
-
|
933
|
-
create_table "spree_store_credit_update_reasons", force: :cascade do |t|
|
934
|
-
t.string "name"
|
935
|
-
t.datetime "created_at"
|
936
|
-
t.datetime "updated_at"
|
937
|
-
end
|
938
|
-
|
939
|
-
create_table "spree_store_credits", force: :cascade do |t|
|
940
|
-
t.integer "user_id"
|
941
|
-
t.integer "category_id"
|
942
|
-
t.integer "created_by_id"
|
943
|
-
t.decimal "amount", precision: 8, scale: 2, default: 0.0, null: false
|
944
|
-
t.decimal "amount_used", precision: 8, scale: 2, default: 0.0, null: false
|
945
|
-
t.decimal "amount_authorized", precision: 8, scale: 2, default: 0.0, null: false
|
946
|
-
t.string "currency"
|
947
|
-
t.text "memo"
|
948
|
-
t.datetime "spree_store_credits"
|
949
|
-
t.datetime "deleted_at"
|
950
|
-
t.datetime "created_at"
|
951
|
-
t.datetime "updated_at"
|
952
|
-
t.integer "type_id"
|
953
|
-
t.datetime "invalidated_at"
|
954
|
-
end
|
955
|
-
|
956
|
-
add_index "spree_store_credits", ["deleted_at"], name: "index_spree_store_credits_on_deleted_at"
|
957
|
-
add_index "spree_store_credits", ["type_id"], name: "index_spree_store_credits_on_type_id"
|
958
|
-
add_index "spree_store_credits", ["user_id"], name: "index_spree_store_credits_on_user_id"
|
959
|
-
|
960
|
-
create_table "spree_store_payment_methods", force: :cascade do |t|
|
961
|
-
t.integer "store_id", null: false
|
962
|
-
t.integer "payment_method_id", null: false
|
963
|
-
t.datetime "created_at", null: false
|
964
|
-
t.datetime "updated_at", null: false
|
965
|
-
end
|
966
|
-
|
967
|
-
add_index "spree_store_payment_methods", ["payment_method_id"], name: "index_spree_store_payment_methods_on_payment_method_id"
|
968
|
-
add_index "spree_store_payment_methods", ["store_id"], name: "index_spree_store_payment_methods_on_store_id"
|
969
|
-
|
970
|
-
create_table "spree_stores", force: :cascade do |t|
|
815
|
+
create_table "spree_stores", force: true do |t|
|
971
816
|
t.string "name"
|
972
817
|
t.string "url"
|
973
818
|
t.text "meta_description"
|
@@ -983,8 +828,9 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
983
828
|
|
984
829
|
add_index "spree_stores", ["code"], name: "index_spree_stores_on_code"
|
985
830
|
add_index "spree_stores", ["default"], name: "index_spree_stores_on_default"
|
831
|
+
add_index "spree_stores", ["url"], name: "index_spree_stores_on_url"
|
986
832
|
|
987
|
-
create_table "spree_tax_categories", force:
|
833
|
+
create_table "spree_tax_categories", force: true do |t|
|
988
834
|
t.string "name"
|
989
835
|
t.string "description"
|
990
836
|
t.boolean "is_default", default: false
|
@@ -994,7 +840,10 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
994
840
|
t.string "tax_code"
|
995
841
|
end
|
996
842
|
|
997
|
-
|
843
|
+
add_index "spree_tax_categories", ["deleted_at"], name: "index_spree_tax_categories_on_deleted_at"
|
844
|
+
add_index "spree_tax_categories", ["is_default"], name: "index_spree_tax_categories_on_is_default"
|
845
|
+
|
846
|
+
create_table "spree_tax_rates", force: true do |t|
|
998
847
|
t.decimal "amount", precision: 8, scale: 5
|
999
848
|
t.integer "zone_id"
|
1000
849
|
t.integer "tax_category_id"
|
@@ -1007,10 +856,12 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1007
856
|
end
|
1008
857
|
|
1009
858
|
add_index "spree_tax_rates", ["deleted_at"], name: "index_spree_tax_rates_on_deleted_at"
|
859
|
+
add_index "spree_tax_rates", ["included_in_price"], name: "index_spree_tax_rates_on_included_in_price"
|
860
|
+
add_index "spree_tax_rates", ["show_rate_in_label"], name: "index_spree_tax_rates_on_show_rate_in_label"
|
1010
861
|
add_index "spree_tax_rates", ["tax_category_id"], name: "index_spree_tax_rates_on_tax_category_id"
|
1011
862
|
add_index "spree_tax_rates", ["zone_id"], name: "index_spree_tax_rates_on_zone_id"
|
1012
863
|
|
1013
|
-
create_table "spree_taxonomies", force:
|
864
|
+
create_table "spree_taxonomies", force: true do |t|
|
1014
865
|
t.string "name", null: false
|
1015
866
|
t.datetime "created_at"
|
1016
867
|
t.datetime "updated_at"
|
@@ -1019,7 +870,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1019
870
|
|
1020
871
|
add_index "spree_taxonomies", ["position"], name: "index_spree_taxonomies_on_position"
|
1021
872
|
|
1022
|
-
create_table "spree_taxons", force:
|
873
|
+
create_table "spree_taxons", force: true do |t|
|
1023
874
|
t.integer "parent_id"
|
1024
875
|
t.integer "position", default: 0
|
1025
876
|
t.string "name", null: false
|
@@ -1045,59 +896,43 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1045
896
|
add_index "spree_taxons", ["position"], name: "index_spree_taxons_on_position"
|
1046
897
|
add_index "spree_taxons", ["taxonomy_id"], name: "index_taxons_on_taxonomy_id"
|
1047
898
|
|
1048
|
-
create_table "
|
1049
|
-
t.
|
1050
|
-
t.
|
1051
|
-
t.datetime "created_at"
|
1052
|
-
t.datetime "updated_at"
|
899
|
+
create_table "spree_taxons_promotion_rules", force: true do |t|
|
900
|
+
t.integer "taxon_id"
|
901
|
+
t.integer "promotion_rule_id"
|
1053
902
|
end
|
1054
903
|
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
t.integer
|
1060
|
-
t.
|
1061
|
-
t.datetime "updated_at"
|
1062
|
-
t.datetime "deleted_at"
|
904
|
+
add_index "spree_taxons_promotion_rules", ["promotion_rule_id"], name: "index_spree_taxons_promotion_rules_on_promotion_rule_id"
|
905
|
+
add_index "spree_taxons_promotion_rules", ["taxon_id"], name: "index_spree_taxons_promotion_rules_on_taxon_id"
|
906
|
+
|
907
|
+
create_table "spree_taxons_prototypes", force: true do |t|
|
908
|
+
t.integer "taxon_id"
|
909
|
+
t.integer "prototype_id"
|
1063
910
|
end
|
1064
911
|
|
1065
|
-
add_index "
|
1066
|
-
add_index "
|
912
|
+
add_index "spree_taxons_prototypes", ["prototype_id"], name: "index_spree_taxons_prototypes_on_prototype_id"
|
913
|
+
add_index "spree_taxons_prototypes", ["taxon_id"], name: "index_spree_taxons_prototypes_on_taxon_id"
|
1067
914
|
|
1068
|
-
create_table "
|
1069
|
-
t.integer "
|
1070
|
-
t.string "
|
1071
|
-
t.string "
|
915
|
+
create_table "spree_tokenized_permissions", force: true do |t|
|
916
|
+
t.integer "permissable_id"
|
917
|
+
t.string "permissable_type"
|
918
|
+
t.string "token"
|
1072
919
|
t.datetime "created_at"
|
1073
920
|
t.datetime "updated_at"
|
1074
921
|
end
|
1075
922
|
|
1076
|
-
add_index "
|
1077
|
-
|
1078
|
-
create_table "spree_user_addresses", force: :cascade do |t|
|
1079
|
-
t.integer "user_id", null: false
|
1080
|
-
t.integer "address_id", null: false
|
1081
|
-
t.boolean "default", default: false
|
1082
|
-
t.boolean "archived", default: false
|
1083
|
-
t.datetime "created_at", null: false
|
1084
|
-
t.datetime "updated_at", null: false
|
1085
|
-
end
|
1086
|
-
|
1087
|
-
add_index "spree_user_addresses", ["address_id"], name: "index_spree_user_addresses_on_address_id"
|
1088
|
-
add_index "spree_user_addresses", ["user_id", "address_id"], name: "index_spree_user_addresses_on_user_id_and_address_id", unique: true
|
1089
|
-
add_index "spree_user_addresses", ["user_id"], name: "index_spree_user_addresses_on_user_id"
|
923
|
+
add_index "spree_tokenized_permissions", ["permissable_id", "permissable_type"], name: "index_tokenized_name_and_type"
|
1090
924
|
|
1091
|
-
create_table "
|
1092
|
-
t.
|
1093
|
-
t.
|
925
|
+
create_table "spree_trackers", force: true do |t|
|
926
|
+
t.string "environment"
|
927
|
+
t.string "analytics_id"
|
928
|
+
t.boolean "active", default: true
|
1094
929
|
t.datetime "created_at"
|
1095
930
|
t.datetime "updated_at"
|
1096
931
|
end
|
1097
932
|
|
1098
|
-
add_index "
|
933
|
+
add_index "spree_trackers", ["active"], name: "index_spree_trackers_on_active"
|
1099
934
|
|
1100
|
-
create_table "spree_users", force:
|
935
|
+
create_table "spree_users", force: true do |t|
|
1101
936
|
t.string "encrypted_password", limit: 128
|
1102
937
|
t.string "password_salt", limit: 128
|
1103
938
|
t.string "email"
|
@@ -1133,57 +968,33 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1133
968
|
add_index "spree_users", ["email"], name: "email_idx_unique", unique: true
|
1134
969
|
add_index "spree_users", ["spree_api_key"], name: "index_spree_users_on_spree_api_key"
|
1135
970
|
|
1136
|
-
create_table "
|
1137
|
-
t.
|
1138
|
-
t.
|
1139
|
-
t.
|
1140
|
-
t.
|
1141
|
-
|
1142
|
-
|
1143
|
-
add_index "spree_variant_property_rule_conditions", ["variant_property_rule_id", "option_value_id"], name: "index_spree_variant_prop_rule_conditions_on_rule_and_optval"
|
1144
|
-
|
1145
|
-
create_table "spree_variant_property_rule_values", force: :cascade do |t|
|
1146
|
-
t.text "value"
|
1147
|
-
t.integer "position", default: 0
|
1148
|
-
t.integer "property_id"
|
1149
|
-
t.integer "variant_property_rule_id"
|
1150
|
-
end
|
1151
|
-
|
1152
|
-
add_index "spree_variant_property_rule_values", ["property_id"], name: "index_spree_variant_property_rule_values_on_property_id"
|
1153
|
-
add_index "spree_variant_property_rule_values", ["variant_property_rule_id"], name: "index_spree_variant_property_rule_values_on_rule"
|
1154
|
-
|
1155
|
-
create_table "spree_variant_property_rules", force: :cascade do |t|
|
1156
|
-
t.integer "product_id"
|
1157
|
-
t.datetime "created_at", null: false
|
1158
|
-
t.datetime "updated_at", null: false
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
add_index "spree_variant_property_rules", ["product_id"], name: "index_spree_variant_property_rules_on_product_id"
|
1162
|
-
|
1163
|
-
create_table "spree_variants", force: :cascade do |t|
|
1164
|
-
t.string "sku", default: "", null: false
|
1165
|
-
t.decimal "weight", precision: 8, scale: 2, default: 0.0
|
1166
|
-
t.decimal "height", precision: 8, scale: 2
|
1167
|
-
t.decimal "width", precision: 8, scale: 2
|
1168
|
-
t.decimal "depth", precision: 8, scale: 2
|
971
|
+
create_table "spree_variants", force: true do |t|
|
972
|
+
t.string "sku", default: "", null: false
|
973
|
+
t.decimal "weight", precision: 8, scale: 2, default: 0.0
|
974
|
+
t.decimal "height", precision: 8, scale: 2
|
975
|
+
t.decimal "width", precision: 8, scale: 2
|
976
|
+
t.decimal "depth", precision: 8, scale: 2
|
1169
977
|
t.datetime "deleted_at"
|
1170
|
-
t.boolean "is_master",
|
978
|
+
t.boolean "is_master", default: false
|
1171
979
|
t.integer "product_id"
|
1172
|
-
t.decimal "cost_price",
|
980
|
+
t.decimal "cost_price", precision: 10, scale: 2
|
1173
981
|
t.integer "position"
|
1174
982
|
t.string "cost_currency"
|
1175
|
-
t.boolean "track_inventory",
|
983
|
+
t.boolean "track_inventory", default: true
|
1176
984
|
t.integer "tax_category_id"
|
1177
985
|
t.datetime "updated_at"
|
986
|
+
t.integer "stock_items_count", default: 0, null: false
|
1178
987
|
end
|
1179
988
|
|
989
|
+
add_index "spree_variants", ["deleted_at"], name: "index_spree_variants_on_deleted_at"
|
990
|
+
add_index "spree_variants", ["is_master"], name: "index_spree_variants_on_is_master"
|
1180
991
|
add_index "spree_variants", ["position"], name: "index_spree_variants_on_position"
|
1181
992
|
add_index "spree_variants", ["product_id"], name: "index_spree_variants_on_product_id"
|
1182
993
|
add_index "spree_variants", ["sku"], name: "index_spree_variants_on_sku"
|
1183
994
|
add_index "spree_variants", ["tax_category_id"], name: "index_spree_variants_on_tax_category_id"
|
1184
995
|
add_index "spree_variants", ["track_inventory"], name: "index_spree_variants_on_track_inventory"
|
1185
996
|
|
1186
|
-
create_table "spree_zone_members", force:
|
997
|
+
create_table "spree_zone_members", force: true do |t|
|
1187
998
|
t.integer "zoneable_id"
|
1188
999
|
t.string "zoneable_type"
|
1189
1000
|
t.integer "zone_id"
|
@@ -1194,7 +1005,7 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1194
1005
|
add_index "spree_zone_members", ["zone_id"], name: "index_spree_zone_members_on_zone_id"
|
1195
1006
|
add_index "spree_zone_members", ["zoneable_id", "zoneable_type"], name: "index_spree_zone_members_on_zoneable_id_and_zoneable_type"
|
1196
1007
|
|
1197
|
-
create_table "spree_zones", force:
|
1008
|
+
create_table "spree_zones", force: true do |t|
|
1198
1009
|
t.string "name"
|
1199
1010
|
t.string "description"
|
1200
1011
|
t.boolean "default_tax", default: false
|
@@ -1203,4 +1014,6 @@ ActiveRecord::Schema.define(version: 20160707103642) do
|
|
1203
1014
|
t.datetime "updated_at"
|
1204
1015
|
end
|
1205
1016
|
|
1017
|
+
add_index "spree_zones", ["default_tax"], name: "index_spree_zones_on_default_tax"
|
1018
|
+
|
1206
1019
|
end
|