Sha256: c58cd9052fbb12b4b5c1fe4652195ff15fa76e4e1184e9891cd248e3d4be9245

Contents?: true

Size: 332 Bytes

Versions: 41

Compression:

Stored size: 332 Bytes

Contents

class CreateAdherentPayments < ActiveRecord::Migration
  def change
    create_table :adherent_payments do |t|
      t.date :date
      t.decimal :amount, precision: 10, scale: 2
      t.string :mode
      
      t.references :member

      t.timestamps
    end
    
    add_index :adherent_payments, :member_id
    
    
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
adherent-0.3.13 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.12 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.11 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.10 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.9 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.7 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.6 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.5 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.4 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.3 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.2 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.1 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.3.0 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.9 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.8 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.7 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.6 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.5 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.4 db/migrate/20130808054023_create_adherent_payments.rb
adherent-0.2.3 db/migrate/20130808054023_create_adherent_payments.rb