Sha256: c581ffddd772bc4caadbbf265c5596cc9b211fac8130ab394d6f0c41d0943776

Contents?: true

Size: 630 Bytes

Versions: 84

Compression:

Stored size: 630 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 CreateUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :users do |t|
      t.bigint :canvas_id, null: false
      t.string :sis_id
      t.string :email
      t.string :first_name
      t.string :last_name
      t.string :workflow_state
      t.string :login_id
      t.string :name
      t.string :sortable_name

      t.timestamps
    end

    add_index :users, :canvas_id, unique: true
  end
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
canvas_sync-0.17.0.beta8 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta7 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta6 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta5 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.11.1 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta4 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.16.5 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta3 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta2 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.17.0.beta1 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.16.4 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.16.3 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.16.2 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.16.1 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.15.1 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.15.0 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.14.0 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.13.0 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.12.0 spec/dummy/db/migrate/20190702203620_create_users.rb
canvas_sync-0.11.0 spec/dummy/db/migrate/20190702203620_create_users.rb