Sha256: 2321a378d06ee403c2d72454494a9f876422606e77808636470fb6fe7dde7342

Contents?: true

Size: 635 Bytes

Versions: 23

Compression:

Stored size: 635 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_user_id, null: false
      t.string :sis_id
      t.string :email
      t.string :first_name
      t.string :last_name
      t.string :status
      t.string :login_id
      t.string :full_name
      t.string :sortable_name

      t.timestamps
    end

    add_index :users, :canvas_user_id, unique: true
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
canvas_sync-0.5.3 spec/dummy/db/migrate/20180509194201_create_users.rb
canvas_sync-0.5.2 spec/dummy/db/migrate/20180509194201_create_users.rb
canvas_sync-0.5.1 spec/dummy/db/migrate/20180509194201_create_users.rb