Sha256: 212f8872220d8dbb0a6d8245205d8867137411cd3f16ff9decbe632cca06b03c
Contents?: true
Size: 194 Bytes
Versions: 15
Compression:
Stored size: 194 Bytes
Contents
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
15 entries across 13 versions & 1 rubygems