Sha256: 45e2898fc4a2abec0586fc1101343c0c3b91cf765273faf42be2455a1229dea0

Contents?: true

Size: 286 Bytes

Versions: 6

Compression:

Stored size: 286 Bytes

Contents

class CreateLoyaltyPointsTransactions < ActiveRecord::Migration
  def change
    create_table :spree_loyalty_points_transactions do |t|
      t.integer :loyalty_points
      t.string :transaction_type
      t.integer :user_id, :null => false
      t.integer :order_id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_loyalty_points-1.1.1 db/migrate/20140116110437_create_loyalty_points_transactions.rb
spree_loyalty_points-1.0.3 db/migrate/20140116110437_create_loyalty_points_transactions.rb
spree_loyalty_points-1.1.0 db/migrate/20140116110437_create_loyalty_points_transactions.rb
spree_loyalty_points-1.0.2 db/migrate/20140116110437_create_loyalty_points_transactions.rb
spree_loyalty_points-1.0.1 db/migrate/20140116110437_create_loyalty_points_transactions.rb
spree_loyalty_points-1.0.0 db/migrate/20140116110437_create_loyalty_points_transactions.rb