Sha256: ec7dca010a709590cddffa8e0f7cb509a261ce9240892035da1e786e4cd6e8e5

Contents?: true

Size: 597 Bytes

Versions: 10

Compression:

Stored size: 597 Bytes

Contents

class CreateSisCoreCreditHourRates < ActiveRecord::Migration[6.0]
  def change
    create_table :sis_core_credit_hour_rates do |t|
      t.references :programme_level,
                   null: false,
                   index: { name: 'pr_level_on_chr_hr_rate_indx' },
                   foreign_key: { to_table: :sis_core_lookups }
      t.references :currency,
                   null: false,
                   index: { name: 'currency_on_chr_hr_rate_indx' },
                   foreign_key: { to_table: :sis_core_lookups }
      t.float :rate, null: false

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sis_core-1.0.20 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.19 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.18 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.17 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.16 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.15 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.14 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.13 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.12 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb
sis_core-1.0.11 db/migrate/20200919235516_create_sis_core_credit_hour_rates.rb