Sha256: fc3b6bed2f068ee7b578a92d94ab5eb9042fe45b9446cb72a3fd45893c246b05
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
canvas_sync-0.10.2 | spec/dummy/db/migrate/20190606161037_create_roles.rb |