Sha256: 23152148c2fb1e8939f698c82773d1d8a93f4a785d2ec8424c750bee7da6d29e
Contents?: true
Size: 706 Bytes
Versions: 18
Compression:
Stored size: 706 Bytes
Contents
<%= autogenerated_migration_warning %> 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.float :score t.float :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
18 entries across 18 versions & 1 rubygems