Sha256: 4a016c66e413f8ead4a7377b89f190daa366c5705aadbde43d007bfcceea89ff

Contents?: true

Size: 619 Bytes

Versions: 42

Compression:

Stored size: 619 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_admin_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_admin_id, unique: true
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
canvas_sync-0.3.8 spec/dummy/db/migrate/20180109210452_create_admins.rb
canvas_sync-0.3.7 spec/dummy/db/migrate/20180109210452_create_admins.rb