Sha256: 5f702843bfbe31ecf92db7d0f00623060f26f430e4c931832f60ef5a25bac960
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
# This migration comes from spree (originally 20150506181539) 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
2 entries across 2 versions & 1 rubygems