Sha256: 321e5494a6585ab6371eaa243045d1906496e0e44859f48bb7bb5c0f98d72f23
Contents?: true
Size: 414 Bytes
Versions: 10
Compression:
Stored size: 414 Bytes
Contents
class CreateSisCoreSemesters < ActiveRecord::Migration[6.0] def change create_table :sis_core_semesters do |t| t.string :name, null: false t.string :description t.references :academic_year, index: { name: 'ay_on_semester_indx' }, null: false, foreign_key: { to_table: :sis_core_academic_years } t.timestamps end end end
Version data entries
10 entries across 10 versions & 1 rubygems