Sha256: aeb60b3efc73d97e3e9ebdcf5909d65755540ae3c26ab2b72493dd3bae57f935
Contents?: true
Size: 446 Bytes
Versions: 138
Compression:
Stored size: 446 Bytes
Contents
# <%= autogenerated_migration_warning %> 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
138 entries across 138 versions & 1 rubygems