Sha256: 2a4c96f0c4ada7361dab6db1d179f8251dfe4f022a1cae1f356584bd82915cf7

Contents?: true

Size: 700 Bytes

Versions: 136

Compression:

Stored size: 700 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 CreateAdmins < ActiveRecord::Migration[5.1]
  def change
    create_table :admins do |t|
      t.bigint :canvas_id, null: false
      t.string :role_name
      t.bigint :canvas_account_id
      t.bigint :canvas_role_id
      t.bigint :canvas_user_id
      t.string :workflow_state

      t.timestamps
    end
    add_index :admins, :canvas_id, unique: true
    add_index :admins, :canvas_role_id
    add_index :admins, :canvas_user_id
    add_index :admins, :canvas_account_id
  end
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
canvas_sync-0.21.0.beta3 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.21.0.beta2 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.21.0.beta1 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.20.5 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.20.4 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.20.3 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.1.beta2 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.1.beta1 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta10 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta9 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta8 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta7 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta6 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta5 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta4 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta3 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta2 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.19.0.beta1 spec/dummy/db/migrate/20190927204546_create_admins.rb
canvas_sync-0.18.12 spec/dummy/db/migrate/20190927204546_create_admins.rb