Sha256: aeb6471e11a4ab1cb41065d4ac7baf3439986ce10c4a570303b3677aa1d747c1

Contents?: true

Size: 609 Bytes

Versions: 4

Compression:

Stored size: 609 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_role_id, null: false
      t.json :user_data
      t.bigint :canvas_user_id, null: false
      t.string :workflow_state, null: false

      t.timestamps
    end
    add_index :admins, :canvas_id, unique: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
canvas_sync-0.10.6 spec/dummy/db/migrate/20190702203629_create_admins.rb
canvas_sync-0.10.5 spec/dummy/db/migrate/20190702203629_create_admins.rb
canvas_sync-0.10.4 spec/dummy/db/migrate/20190702203629_create_admins.rb
canvas_sync-0.10.3 spec/dummy/db/migrate/20190702203629_create_admins.rb