Sha256: 3d2285e3a22224e9e737306918a0e52d7c0915221b5fa402cd000b02060d81bb
Contents?: true
Size: 647 Bytes
Versions: 10
Compression:
Stored size: 647 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_section_id, null: false t.string :sis_id t.bigint :canvas_course_id t.string :name t.string :status t.datetime :start_date t.datetime :end_date t.timestamps end add_index :sections, :canvas_section_id, unique: true add_index :sections, :canvas_course_id end end
Version data entries
10 entries across 10 versions & 1 rubygems