Sha256: d490498e6d42b87312da7e282d0452a21b8137bd93db5b2ee415cf90baa65cd8
Contents?: true
Size: 578 Bytes
Versions: 140
Compression:
Stored size: 578 Bytes
Contents
# <%= autogenerated_migration_warning %> class CreateAssignmentGroups < ActiveRecord::Migration[5.1] def change create_table :assignment_groups do |t| t.bigint :canvas_id, null: false t.bigint :canvas_course_id t.string :name t.text :rules t.integer :position t.float :group_weight t.string :workflow_state t.datetime :canvas_created_at t.datetime :canvas_updated_at t.timestamps end add_index :assignment_groups, :canvas_id, unique: true add_index :assignment_groups, :canvas_course_id end end
Version data entries
140 entries across 140 versions & 1 rubygems