title: Database Schema For Private Messages
body: <p>I am trying to implement a private messaging system in rails and I need help with the design of the database. I have read around and I have come up with many valid alternatives, but I was wondering if anyone knew of such a schema that would ultimately be scalable. I appreciate any help or links.</p>
  
  <p>EDIT:
  The database schema would basically have two things</p>
  
  <p>1.subject</p>
  
  <p>2.message</p>
  
  <p>I was thinking of implementing two tables </p>
  
  <h2>Messages</h2>
  
  <p>subject_text</p>
  
  <p>sender_id</p>
  
  <p>reciever_id</p>
  
  <p>has_many texts</p>
  
  <h2>Texts</h2>
  
  <p>content_text</p>
  
  <p>I am in no way any good at database schema but I appreciate the help while I am learning</p>