Sha256: 0e9e38273b8db91fa35cc7bbad3f7194907e64f200bc85aa9af6bf8fea017d06
Contents?: true
Size: 747 Bytes
Versions: 5
Compression:
Stored size: 747 Bytes
Contents
class CreateSisCoreCurriculums < ActiveRecord::Migration[6.0] def change create_table :sis_core_curriculums do |t| t.references :programme, null: false, index: { name: 'pr_on_curriculum_indx' }, foreign_key: { to_table: :sis_core_programmes } t.references :programme_level, null: false, index: { name: 'pr_level_on_curriculum_indx' }, foreign_key: { to_table: :sis_core_lookups } t.float :compulsory_course_credit_hours, null: false t.float :elective_course_credit_hours, null: false t.float :thesis_hour, null: false t.float :project_hour, null: false t.timestamps end end end
Version data entries
5 entries across 5 versions & 1 rubygems