Sha256: a75220636a9702aec6812134ebc67dde729aecc17dfacc56b126a4da6630a36d
Contents?: true
Size: 224 Bytes
Versions: 3
Compression:
Stored size: 224 Bytes
Contents
class CreateJoinTableAlbumUser < ActiveRecord::Migration[7.1] def change create_join_table :albums, :users do |t| t.index [:album_id, :user_id], unique: true t.index [:user_id, :album_id] end end end
Version data entries
3 entries across 3 versions & 1 rubygems