Sha256: 8967ef2839f641b524a0ce040e36339a26f814298fb6a4262db9732f09c5e425

Contents?: true

Size: 561 Bytes

Versions: 31

Compression:

Stored size: 561 Bytes

Contents

# #
# AUTO GENERATED MODEL
# This model was auto generated by the CanvasSync Gem.
# You can customize it as needed, but make sure you test
# any changes you make to the auto generated methods.
#


class ContentMigration < ApplicationRecord
  include CanvasSync::Record
  include CanvasSync::Concerns::ApiSyncable

  canvas_sync_features :defaults

  validates :canvas_id, uniqueness: true, presence: true
  belongs_to :context, polymorphic: true, optional: true, primary_key: :canvas_id, foreign_key: :canvas_context_id, foreign_type: :canvas_context_type

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.8 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.6 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.5 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.4 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.3 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.2 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.1 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta8 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta7 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta6 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta5 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta4 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta3 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta2 spec/dummy/app/models/content_migration.rb
canvas_sync-0.22.0.beta1 spec/dummy/app/models/content_migration.rb
canvas_sync-0.21.1 spec/dummy/app/models/content_migration.rb
canvas_sync-0.21.1.beta1 spec/dummy/app/models/content_migration.rb
canvas_sync-0.21.0 spec/dummy/app/models/content_migration.rb