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