Sha256: 3430342ea5a74a154b047d9518cfd6ef35cdab5b78fee5dd2366fbb324e0caa3
Contents?: true
Size: 509 Bytes
Versions: 29
Compression:
Stored size: 509 Bytes
Contents
# <%= autogenerated_migration_warning %> class CreateCourseNicknames < ActiveRecord::Migration[5.1] def change create_table :course_nicknames do |t| t.bigint :canvas_user_preference_value_id, null: true t.integer :canvas_user_id t.integer :canvas_course_id t.string :nickname t.timestamps end add_index :course_nicknames, :canvas_user_preference_value_id, unique: true add_index :course_nicknames, [:canvas_course_id, :canvas_user_id], unique: true end end
Version data entries
29 entries across 29 versions & 1 rubygems