Sha256: 7a2c46e8cc700681e5abf595f451b9663e9f699728574a90c2775706b03ca5c3
Contents?: true
Size: 662 Bytes
Versions: 39
Compression:
Stored size: 662 Bytes
Contents
class CreateSpreeStoreCreditEvents < ActiveRecord::Migration def change create_table :spree_store_credit_events do |t| t.integer :store_credit_id, null: false t.string :action, null: false t.decimal :amount, precision: 8, scale: 2 t.decimal :user_total_amount, precision: 8, scale: 2, default: 0.0, null: false t.string :authorization_code, null: false t.datetime :deleted_at t.references :originator, polymorphic: true t.timestamps null: true end add_index :spree_store_credit_events, :store_credit_id add_index :spree_store_credit_events, :deleted_at end end
Version data entries
39 entries across 39 versions & 1 rubygems