Sha256: baafceb0aa9588b6e7df77a635d52e403a87f95a2d6dc9178283a7552156c407
Contents?: true
Size: 631 Bytes
Versions: 27
Compression:
Stored size: 631 Bytes
Contents
class CreateCoalescingPandaAssignments < CoalescingPanda::MiscHelper::MigrationClass def change create_table :coalescing_panda_assignments do |t| t.belongs_to :coalescing_panda_course, null: false t.string :name t.text :description t.string :canvas_assignment_id, null: false t.string :workflow_state t.float :points_possible t.datetime :due_at t.datetime :unlock_at t.datetime :lock_at t.timestamps end add_index :coalescing_panda_assignments, [:coalescing_panda_course_id, :canvas_assignment_id], name: :index_assignments_course, unique: true end end
Version data entries
27 entries across 27 versions & 1 rubygems