Sha256: bac83f2cf6f3891471706545c3aa1e1f7835abe18f0f5de104a02ac5e62e87b7

Contents?: true

Size: 465 Bytes

Versions: 83

Compression:

Stored size: 465 Bytes

Contents

# <%= autogenerated_migration_warning %>

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

83 entries across 83 versions & 1 rubygems

Version Path
canvas_sync-0.17.23.beta2 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.23.beta1 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.20 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.19 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.18 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.17.beta1 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.16 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.15 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.14 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.13 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.12 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.10.beta2 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.10.beta1 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.8 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.8.beta4 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.8.beta3 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.8.beta2 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.8.beta1 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.7 lib/canvas_sync/generators/templates/migrations/create_users.rb
canvas_sync-0.17.7.beta1 lib/canvas_sync/generators/templates/migrations/create_users.rb