Sha256: 90a104388d58834e78f5f18a4eb3ed5c4cebf5619eb80eb32a681b932216f8ee
Contents?: true
Size: 875 Bytes
Versions: 33
Compression:
Stored size: 875 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. # class CreateSubmissions < ActiveRecord::Migration[5.1] def change create_table :submissions do |t| t.bigint :canvas_submission_id, null: false t.bigint :canvas_course_id t.bigint :canvas_assignment_id t.bigint :canvas_user_id t.datetime :submitted_at t.datetime :graded_at t.integer :score t.integer :points_possible t.boolean :excused t.string :workflow_state t.timestamps end add_index :submissions, :canvas_submission_id, unique: true add_index :submissions, :canvas_assignment_id add_index :submissions, :canvas_course_id add_index :submissions, :canvas_user_id end end
Version data entries
33 entries across 33 versions & 1 rubygems