Sha256: dbb5025fe42b052363597e9d0ec5ea297432bcbf9d1de4963380ec078bae966b
Contents?: true
Size: 679 Bytes
Versions: 142
Compression:
Stored size: 679 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 CreateSections < ActiveRecord::Migration[5.1] def change create_table :sections do |t| t.bigint :canvas_id, null: false t.string :sis_id t.bigint :canvas_course_id t.bigint :canvas_nonxlist_course_id t.string :name t.string :workflow_state t.datetime :start_at t.datetime :end_at t.timestamps end add_index :sections, :canvas_id, unique: true add_index :sections, :canvas_course_id end end
Version data entries
142 entries across 142 versions & 1 rubygems