Sha256: 8b39a1ecd5af22facab2a5fc14cf4cdf4fd6fd70241e945aec6b52e6e2666549

Contents?: true

Size: 604 Bytes

Versions: 44

Compression:

Stored size: 604 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_role_id, null: false
      t.string :label, null: false
      t.string :base_role_type, null: false
      t.json :account
      t.string :workflow_state, null: false
      t.json :permissions

      t.timestamps
    end
    add_index :roles, :canvas_role_id, unique: true
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
canvas_sync-0.3.8 spec/dummy/db/migrate/20180103162102_create_roles.rb
canvas_sync-0.3.7 spec/dummy/db/migrate/20180103162102_create_roles.rb
canvas_sync-0.3.6 spec/dummy/db/migrate/20180103162102_create_roles.rb
canvas_sync-0.3.5 spec/dummy/db/migrate/20180103162102_create_roles.rb