Sha256: 9295d5b63756da24d6baf329e19363375079e78781206fbc56d7cba499909510

Contents?: true

Size: 429 Bytes

Versions: 133

Compression:

Stored size: 429 Bytes

Contents

# <%= autogenerated_migration_warning %>

class CreatePseudonyms < ActiveRecord::Migration[5.1]
  def change
    create_table :pseudonyms do |t|
      t.bigint :canvas_id, null: false
      t.bigint :canvas_user_id
      t.string :sis_id
      t.string :unique_id
      t.string :workflow_state

      t.timestamps
    end

    add_index :pseudonyms, :canvas_id, unique: true
    add_index :pseudonyms, :canvas_user_id
  end
end

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
canvas_sync-0.17.0.beta6 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.17.0.beta5 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.17.0.beta4 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.16.5 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.17.0.beta3 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.17.0.beta2 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.17.0.beta1 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.16.4 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.16.3 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.16.2 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.16.1 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.15.1 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
canvas_sync-0.15.0 lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb