Sha256: 8bfdb8f59f2d646994c0bdf66621164cfe8da5b86ab6436190984b75cc9b5aa2

Contents?: true

Size: 470 Bytes

Versions: 23

Compression:

Stored size: 470 Bytes

Contents

<%= autogenerated_migration_warning %>

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.9.4 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.9.3 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.9.2 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.9.1 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.9.0 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.8.4 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.8.3 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.8.2 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.8.1 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.8.0 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.7.3 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.7.2 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.7.1 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.7.0 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.6.4 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.6.3 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.6.2 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.6.1 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.6.0 lib/canvas_sync/generators/templates/models/create_users.rb
canvas_sync-0.5.4 lib/canvas_sync/generators/templates/models/create_users.rb