Sha256: 1e22360a41ef4934927f4742f765c1d45c88a60089236920ba577c0d111fc8fe
Contents?: true
Size: 1.18 KB
Versions: 4
Compression:
Stored size: 1.18 KB
Contents
class CreateSisCoreStudentEligibilities < ActiveRecord::Migration[6.0] def change create_table :sis_core_student_eligibilities do |t| t.references :student, null: false, index: { name: 'stud_on_stud_eligibility' }, foreign_key: { to_table: :sis_core_students } t.references :academic_year, null: false, index: { name: 'ay_on_stud_eligibility' }, foreign_key: { to_table: :sis_core_academic_years } t.references :semester, null: false, index: { name: 'sem_on_stud_eligibility' }, foreign_key: { to_table: :sis_core_semesters } t.references :eligibility_criteria, null: false, index: { name: 'elig_cri_on_stud_eligibility' }, foreign_key: { to_table: :sis_core_eligibility_criteria } t.references :cleared_by, null: false, index: { name: 'clr_by_stud_eligibility' }, foreign_key: { to_table: :sis_core_users } t.boolean :is_eligible, default: false t.timestamps end end end
Version data entries
4 entries across 4 versions & 1 rubygems