Sha256: 3ae98a2a622962bbb7ae759eda75c55ea423393fc25c0c75abc88010b22b75de
Contents?: true
Size: 1.01 KB
Versions: 34
Compression:
Stored size: 1.01 KB
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 CreateAssignments < ActiveRecord::Migration[5.1] def change create_table :assignments do |t| t.bigint :canvas_assignment_id, null: false t.string :title t.text :description t.datetime :due_at t.datetime :unlock_at t.datetime :lock_at t.integer :points_possible t.integer :min_score t.integer :max_score t.integer :mastery_score t.string :grading_type t.string :submission_types t.string :workflow_state t.integer :context_id t.string :context_type t.integer :canvas_assignment_group_id t.integer :grading_scheme_id t.integer :grading_standard_id t.timestamps end add_index :assignments, :canvas_assignment_id, unique: true add_index :assignments, [:context_id, :context_type] end end
Version data entries
34 entries across 34 versions & 1 rubygems