Sha256: 20d3c7a05d3cc85ba7702164519b89514e25f75e9ea2ec8fb1815088054fff19
Contents?: true
Size: 448 Bytes
Versions: 21
Compression:
Stored size: 448 Bytes
Contents
class CreateAdjustmentReason < ActiveRecord::Migration[4.2] def change create_table :spree_adjustment_reasons do |t| t.string "name" t.string "code" t.boolean "active", default: true t.timestamps null: true end add_index :spree_adjustment_reasons, :code add_index :spree_adjustment_reasons, :active change_table :spree_adjustments do |t| t.references :adjustment_reason end end end
Version data entries
21 entries across 21 versions & 1 rubygems