Sha256: e267fddff8f6e251a66940d23d30f5b0d18132d9b3584808894798a75ae15685
Contents?: true
Size: 851 Bytes
Versions: 11
Compression:
Stored size: 851 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_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.float :score t.float :points_possible t.boolean :excused t.string :workflow_state t.timestamps end add_index :submissions, :canvas_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
11 entries across 11 versions & 1 rubygems