Sha256: d4b7cd7d17a78478671a80e129b38fba67b203ec5f8fa36ee67e98ba8423ee72

Contents?: true

Size: 286 Bytes

Versions: 98

Compression:

Stored size: 286 Bytes

Contents

class CreatePaymentMethods < ActiveRecord::Migration
  def change
    create_table :payment_methods do |t|
      t.string :description, :null => false
      t.string :klass, :null => false
      t.boolean :active, :null => false, :default => false

      t.timestamps
    end
  end
end

Version data entries

98 entries across 98 versions & 2 rubygems

Version Path
piggybak-0.7.7 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.6 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.5 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.34 db/migrate/20111228231806_create_payment_methods.rb
piggybak_free_shipping_by_product-0.0.2 test/dummy/db/migrate/20120103020923_create_payment_methods.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20120103020923_create_payment_methods.rb
piggybak-0.7.4 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.3 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.2 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.1 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.7.0 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.33 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.32 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.31 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.30 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.29 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.28 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.27 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.26 db/migrate/20111228231806_create_payment_methods.rb
piggybak-0.6.25 db/migrate/20111228231806_create_payment_methods.rb