Sha256: 6657610878f88ca11859102c0b655b82fcfc6ca3c4262f70acf294e2c6b5f9a7
Contents?: true
Size: 688 Bytes
Versions: 9
Compression:
Stored size: 688 Bytes
Contents
class CreateSisCoreApplicationSetups < ActiveRecord::Migration[6.0] def change create_table :sis_core_application_setups do |t| t.date :start_date, null: false t.date :end_date, null: false t.string :status, null: false, default: 'Open' t.references :academic_programme, null: false, index: { name: 'as_on_ap_indx' }, foreign_key: { to_table: :sis_core_academic_programmes } t.references :target_semester, null: false, index: { name: 'as_on_ts_indx' }, foreign_key: { to_table: :sis_core_semesters } t.timestamps end end end
Version data entries
9 entries across 9 versions & 1 rubygems