Sha256: db966c4264ecf40949e1d1db3c3927eb450d515550dc07665253bf621f3db0d4

Contents?: true

Size: 399 Bytes

Versions: 36

Compression:

Stored size: 399 Bytes

Contents

class ChangeTableBaseBillingOrigins < ActiveRecord::Migration
  def change
    change_table :billing_origins do |t|
      t.integer   :master_id
      t.integer   :fiscal_device_id
      t.boolean   :banned
      t.timestamp :deleted_at
      t.string    :type
      t.string    :payment_model, default: 'Billing::PaymentWithType'
    end
    add_index :billing_origins, :fiscal_device_id
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
billing-0.2.2 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.2.1 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.2.0 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.9 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.8 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.7 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.6 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.5 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.4 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.3 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.2a db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.2 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.1 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.0a db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.1.0 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.0.9 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.0.8a db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.0.8 db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.0.7i db/migrate/20140722162315_change_table_base_billing_origins.rb
billing-0.0.7g db/migrate/20140722162315_change_table_base_billing_origins.rb