Sha256: 8676219dd7a0abf37c918cd9d25318c9cf5876cb08bea2a9baa28445295b1bc7

Contents?: true

Size: 274 Bytes

Versions: 36

Compression:

Stored size: 274 Bytes

Contents

class ChangeTableBaseBillingDepartments < ActiveRecord::Migration
  def change
    change_table :billing_departments do |t|
      t.integer   :number
      t.boolean   :banned
      t.timestamp :deleted_at
    end
    add_index :billing_departments, :tax_group_id
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

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