Sha256: 2d65952e5d524cb1997ab44457fe7963ceac88d9489892ad223918a206697d89
Contents?: true
Size: 774 Bytes
Versions: 17
Compression:
Stored size: 774 Bytes
Contents
class CreateSisCoreAcademicProgrammes < ActiveRecord::Migration[6.0] def change create_table :sis_core_academic_programmes do |t| t.integer :duration, null: false t.references :programme, null: false, index: { name: 'ap_on_programme_indx' }, foreign_key: { to_table: :sis_core_programmes } t.references :programme_type, null: false, index: { name: 'ap_on_pt_indx' }, foreign_key: { to_table: :sis_core_lookups } t.references :programme_level, null: false, index: { name: 'ap_on_pl_indx' }, foreign_key: { to_table: :sis_core_lookups } t.timestamps end end end
Version data entries
17 entries across 17 versions & 1 rubygems