Sha256: ca16850db236a0129515a739cbf9ff980c3907102bda6e2f7123f230bb83d1ed
Contents?: true
Size: 710 Bytes
Versions: 15
Compression:
Stored size: 710 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.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
15 entries across 15 versions & 1 rubygems