title: How to Design a SaaS Database
body: <p>I have a web app that I built for a trucking company that I would like to offer as SaaS. What is the best way to design the database? </p>
  
  <p>Should I create a new database for each company? Or should I use one database with tables that have a prefix of the company name? Or should I Use one database with one of each table and just add a company id field to the tables? Or is there some other way to do it?</p>