Generated media model and added column to user