Merge pull request #9575 from apricot12/9487-Dimensions-Packing-Reports

Added HEIGHT, WEIGHT, WIDTH, DEPTH columns to packing reports by customer.
This commit is contained in:
Filipe
2022-11-10 09:55:26 +00:00
committed by GitHub
8 changed files with 62 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
class AddDimensionsToLineItems < ActiveRecord::Migration[6.1]
def change
add_column :spree_line_items, :weight, :decimal, precision: 8, scale: 2
add_column :spree_line_items, :height, :decimal, precision: 8, scale: 2
add_column :spree_line_items, :width, :decimal, precision: 8, scale: 2
add_column :spree_line_items, :depth, :decimal, precision: 8, scale: 2
end
end