Sha256: b6a99694de8f966fca10dd9e2b67c433f4901e2794732eed5fb399db9dfe23af

Contents?: true

Size: 397 Bytes

Versions: 65

Compression:

Stored size: 397 Bytes

Contents

class CreateReturnAuthorizations < ActiveRecord::Migration
  def self.up
    create_table :return_authorizations do |t|
      t.string :number
      t.decimal :amount, :precision => 8, :scale => 2, :default => 0.0, :null => false
      t.references :order
      t.text :reason
      t.string :state
      t.timestamps
    end
  end

  def self.down
    drop_table :return_authorizations
  end
end

Version data entries

65 entries across 53 versions & 10 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100112151511_create_return_authorizations.rb
spree-0.11.4 db/migrate/20100112151511_create_return_authorizations.rb
spree_core-0.70.6 db/migrate/20100112151511_create_return_authorizations.rb
apispree_core-0.0.0 db/migrate/20100112151511_create_return_authorizations.rb
My-Commerce_core-1.1.0 db/migrate/20100112151511_create_return_authorizations.rb
My-Commerce_core-1.0.0 db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 core/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb
MyCommerce-0.0.3 core/db/migrate/20100112151511_create_return_authorizations.rb