Sha256: f33922790dcd1524f2aac9f5b6431e69c13a7fcf3dc73b795b4a3bc133ec51bb
Contents?: true
Size: 611 Bytes
Versions: 136
Compression:
Stored size: 611 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 CreateRoles < ActiveRecord::Migration[5.1] def change create_table :roles do |t| t.integer :canvas_id, null: false t.string :label t.string :base_role_type t.integer :canvas_account_id t.string :workflow_state t.json :permissions t.timestamps end add_index :roles, :canvas_id, unique: true add_index :roles, :canvas_account_id end end
Version data entries
136 entries across 136 versions & 1 rubygems