Sha256: 622b7647ac42918a0aa425da20dc229907bbaa5bb359b351ff055c18d0ffb9bd
Contents?: true
Size: 602 Bytes
Versions: 35
Compression:
Stored size: 602 Bytes
Contents
class CreatePaymentMethods < ActiveRecord::Migration def change create_table :payment_methods do |t| t.string :type, :name t.text :description t.boolean :active, :default => true t.string :environment, :default => 'development' t.timestamps end # TODO - also migrate any legacy configurations for gateways and billing integrations before dropping the old tables # we probably also need to do this inside the payment_gateway extension b/c table won't exist yet in fresh bootstrap #drop_table :billing_integrations #drop_table :gateways end end
Version data entries
35 entries across 35 versions & 3 rubygems