Sha256: 69bb4acf3564499e95da97041bb433bab9261ea458ebda5483448e521ce48b08

Contents?: true

Size: 341 Bytes

Versions: 17

Compression:

Stored size: 341 Bytes

Contents

class CreatePaymentMethods < ActiveRecord::Migration
  def change
    create_table :payment_methods do |t|
      t.string  :name
      t.text    :description
      t.string  :type
      t.string  :permalink, null: false
      t.text    :metadata

      t.timestamps
    end
    add_index :payment_methods, :permalink, unique: true
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.10 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.9 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.8 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.7 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.5 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.4.beta1 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.4 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.3 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.2 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.2.beta1 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc6 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc5 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc4 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc3 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc2 db/migrate/20111203034020_create_payment_methods.rb
nimbleshop_core-0.0.1.rc1 db/migrate/20111203034020_create_payment_methods.rb