Sha256: 0e532d5f0849df4829e6956b57d40e9d84053c9ba9ac1745b2177aae724e52fd

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

class AddUserIdToLibraryGroup < ActiveRecord::Migration[5.0]
  def change
    add_reference :library_groups, :user, index: true, foreign_key: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb