Sha256: 6febf9c9b3987b488c16e1c4ff8865b6ce98fcc735a6563112056b382a98a0da
Contents?: true
Size: 529 Bytes
Versions: 58
Compression:
Stored size: 529 Bytes
Contents
<%= autogenerated_migration_warning %> class CreateCourses < ActiveRecord::Migration[5.1] def change create_table :courses do |t| t.bigint :canvas_course_id, null: false t.string :sis_id t.string :short_name t.string :long_name t.string :status t.integer :canvas_account_id t.integer :canvas_term_id t.integer :term_sis_id t.datetime :start_date t.datetime :end_date t.timestamps end add_index :courses, :canvas_course_id, unique: true end end
Version data entries
58 entries across 58 versions & 1 rubygems