Skip to content

Instantly share code, notes, and snippets.

@willwoodlief
Last active December 16, 2017 01:33
Show Gist options
  • Save willwoodlief/218de3cb329161bb9c05815d4dc7b6b5 to your computer and use it in GitHub Desktop.
Save willwoodlief/218de3cb329161bb9c05815d4dc7b6b5 to your computer and use it in GitHub Desktop.
Truncate Table ar_internal_metadata;
Truncate Table friendly_id_slugs;
Truncate Table spree_addresses;
Truncate Table spree_adjustments;
Truncate Table spree_assets;
Truncate Table spree_calculators;
Truncate Table spree_countries;
Truncate Table spree_credit_cards;
Truncate Table spree_customer_returns;
Truncate Table spree_gateways;
Truncate Table spree_inventory_units;
Truncate Table spree_line_items;
Truncate Table spree_log_entries;
Truncate Table spree_option_types;
Truncate Table spree_option_type_prototypes;
Truncate Table spree_option_values;
Truncate Table spree_option_value_variants;
Truncate Table spree_orders;
Truncate Table spree_order_promotions;
Truncate Table spree_payments;
Truncate Table spree_payment_capture_events;
Truncate Table spree_payment_methods;
Truncate Table spree_preferences;
Truncate Table spree_prices;
Truncate Table spree_products;
Truncate Table spree_products_taxons;
Truncate Table spree_product_option_types;
Truncate Table spree_product_promotion_rules;
Truncate Table spree_product_properties;
Truncate Table spree_promotions;
Truncate Table spree_promotion_actions;
Truncate Table spree_promotion_action_line_items;
Truncate Table spree_promotion_categories;
Truncate Table spree_promotion_rules;
Truncate Table spree_promotion_rule_taxons;
Truncate Table spree_promotion_rule_users;
Truncate Table spree_properties;
Truncate Table spree_property_prototypes;
Truncate Table spree_prototypes;
Truncate Table spree_prototype_taxons;
Truncate Table spree_refunds;
Truncate Table spree_refund_reasons;
Truncate Table spree_reimbursements;
Truncate Table spree_reimbursement_credits;
Truncate Table spree_reimbursement_types;
Truncate Table spree_return_authorizations;
Truncate Table spree_return_authorization_reasons;
Truncate Table spree_return_items;
Truncate Table spree_roles;
Truncate Table spree_role_users;
Truncate Table spree_shipments;
Truncate Table spree_shipping_categories;
Truncate Table spree_shipping_methods;
Truncate Table spree_shipping_method_categories;
Truncate Table spree_shipping_method_zones;
Truncate Table spree_shipping_rates;
Truncate Table spree_states;
Truncate Table spree_state_changes;
Truncate Table spree_stock_items;
Truncate Table spree_stock_locations;
Truncate Table spree_stock_movements;
Truncate Table spree_stock_transfers;
Truncate Table spree_stores;
Truncate Table spree_store_credits;
Truncate Table spree_store_credit_categories;
Truncate Table spree_store_credit_events;
Truncate Table spree_store_credit_types;
Truncate Table spree_taggings;
Truncate Table spree_tags;
Truncate Table spree_taxonomies;
Truncate Table spree_taxons;
Truncate Table spree_tax_categories;
Truncate Table spree_tax_rates;
Truncate Table spree_trackers;
Truncate Table spree_users;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment