Sha256: 4be396152cb13125afa79215be2441eca14bd83bd363484c0802758754670b19
Contents?: true
Size: 667 Bytes
Versions: 21
Compression:
Stored size: 667 Bytes
Contents
class CreateSpreeStoreCreditEvents < ActiveRecord::Migration[4.2] 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
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
solidus_core-2.0.0.beta1 | db/migrate/20150506181539_create_spree_store_credit_events.rb |