Skip to content

Commit

Permalink
Add hidden seeds from migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
BravoSimone committed Jun 6, 2017
1 parent 9c503a4 commit 27c8a0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/db/default/spree/refund_reasons.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Spree::RefundReason.find_or_create_by(name: "Return processing")
1 change: 1 addition & 0 deletions core/db/default/spree/shipping_categories.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Spree::ShippingCategory.find_or_create_by(name: "Default")
2 changes: 2 additions & 0 deletions core/db/default/spree/stock_locations.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Spree::StockLocation.create_with(backorderable_default: true)
.find_or_create_by!(name: 'default')

0 comments on commit 27c8a0a

Please sign in to comment.