Sha256: edf71d0fb98bfb489138060cf4426a907c67d65d79ab6944c26f248ea70d3d86

Contents?: true

Size: 264 Bytes

Versions: 9

Compression:

Stored size: 264 Bytes

Contents

# This migration comes from curate_engine (originally 20131029142556)
class AddRepositoryIdToUser < ActiveRecord::Migration
  def change
    add_column User.table_name, :repository_id, :string
    add_index User.table_name, :repository_id, unique: true
  end 
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
curate-0.6.6 spec/internal/db/migrate/20140328183343_add_repository_id_to_user.curate_engine.rb
curate-0.6.4 spec/internal/db/migrate/20140131175548_add_repository_id_to_user.curate_engine.rb
curate-0.6.3 spec/internal/db/migrate/20131205204205_add_repository_id_to_user.curate_engine.rb
curate-0.6.1 spec/internal/db/migrate/20131203200462_add_repository_id_to_user.curate_engine.rb
curate-0.6.0 spec/internal/db/migrate/20131126132931_add_repository_id_to_user.curate_engine.rb
curate-0.5.6 spec/internal/db/migrate/20131114003138_add_repository_id_to_user.curate_engine.rb
curate-0.5.5 spec/internal/db/migrate/20131114003138_add_repository_id_to_user.curate_engine.rb
curate-0.5.4 spec/internal/db/migrate/20131111192828_add_repository_id_to_user.curate_engine.rb
curate-0.5.2 spec/internal/db/migrate/20131106182813_add_repository_id_to_user.curate_engine.rb