Sha256: 69c11f8421bfecac5f1e4e407742a7b8a2d5ea342d3212c5164122a8bc40a7fa
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 Bytes
Contents
class CreateShippingRateDiscounts < ActiveRecord::Migration[7.0] def change create_table :friendly_shipping_rate_discounts do |t| t.references :promotion_action, type: :bigint, null: false, foreign_key: {to_table: :friendly_promotion_actions} t.references :shipping_rate, type: :integer, null: false, foreign_key: {to_table: :spree_shipping_rates} t.decimal :amount, precision: 10, scale: 2, null: false t.string :label, null: false t.timestamps end end end
Version data entries
9 entries across 9 versions & 1 rubygems