Sha256: bc39651c02fa1d9cff7aac4b90237b8a1fe4fe79df56c89243d17b4332945cc6

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

# This migration comes from adherent (originally 20130808054023)
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

5 entries across 5 versions & 1 rubygems

Version Path
adherent-0.1.0 test/dummy/db/migrate/20130810081838_create_adherent_payments.adherent.rb
adherent-0.0.9 test/dummy/db/migrate/20130810081838_create_adherent_payments.adherent.rb
adherent-0.0.7 test/dummy/db/migrate/20130810081838_create_adherent_payments.adherent.rb
adherent-0.0.6 test/dummy/db/migrate/20130810081838_create_adherent_payments.adherent.rb
adherent-0.0.5 test/dummy/db/migrate/20130810081838_create_adherent_payments.adherent.rb