Sha256: 40286a4fd67786be528d8ab1905412273a2de0cbe9d7970f291c019a0d35fc4b
Contents?: true
Size: 697 Bytes
Versions: 26
Compression:
Stored size: 697 Bytes
Contents
# # AUTO GENERATED MIGRATION # This migration was auto generated by the CanvasSync Gem. # You can add new columns to this table, but removing or # re-naming ones created here may break Canvas Syncing. # # A ContextModule is the same as a Canvas Module. They're called ContextModules for 2 reasons: # 1 - Module is a reserved word in Rails and you can't call a model a Module # 2 - Canvas calls them ContextModules class ContextModule < ApplicationRecord belongs_to :canvas_context, polymorphic: true, optional: true has_many :context_module_items, primary_key: :canvas_context_module_id, foreign_key: :canvas_context_module_id has_many :assignments, through: :context_module_items end
Version data entries
26 entries across 26 versions & 1 rubygems