Sha256: 4cc6ef891a2c884426a6d792fb9ce4bb90a08ccceb0e66b03e65cf0434fc1215
Contents?: true
Size: 672 Bytes
Versions: 4
Compression:
Stored size: 672 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, null: false t.string :base_role_type, null: false t.json :account t.integer :canvas_account_id t.string :workflow_state, null: false t.json :permissions t.timestamps end add_index :roles, :canvas_id, unique: true add_index :roles, :canvas_account_id end end
Version data entries
4 entries across 4 versions & 1 rubygems