Sha256: 040828382f2da81312a34ad673ef91d4bcf6b82f860d519b1afa372b220d6c59
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 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 CreateLearningOutcomes < ActiveRecord::Migration[5.1] def change create_table :learning_outcomes do |t| t.bigint :canvas_id, null: false t.integer :canvas_context_id t.string :canvas_context_type t.string :name t.string :friendly_name t.string :workflow_state t.datetime :canvas_created_at t.datetime :canvas_updated_at t.string :migration_id t.string :vendor_guid t.string :low_grade t.string :high_grade t.string :calculation_method t.string :calculation_int t.integer :outcome_import_id t.integer :root_account_ids, array: true, default: [] t.text :description t.text: :short_description t.timestamps end add_index :learning_outcomes, :canvas_id, unique: true add_index :learning_outcomes, [:canvas_context_id, :canvas_context_type], name: "index_learning_outcomes_on_context" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
canvas_sync-0.20.3 | spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb |