Sha256: 4a8fd21b6ebee3172e2c2d758be9267ab951ed3d0377d304683c8250ad5bd9da

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

# This migration comes from adherent (originally 20130806053936)
class CreateAdherentAdhesions < ActiveRecord::Migration
  def change
    create_table :adherent_adhesions do |t|
      t.date :from_date
      t.date :to_date
      t.decimal :amount, precision: 10, scale: 2
      t.references :member

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

Version data entries

5 entries across 5 versions & 1 rubygems

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