Created assignment between media_item and ownership.
Created assignment between user and ownership.
Implemented creating ownerships when creating media items.