title: rake db:migrate doesn't generate table in postgresql
body: <p>I've been having a problem which doesn't seem uncommon (I've read a lot of stack overflow pages in the last 2 days) but every solution I've read hasn't worked for me. </p>
  
  <p>I've been following this <a href="https://www.youtube.com/watch?v=Ho3DKKopC2E" rel="nofollow noreferrer">video tutorial</a>
  At 6:42 the tutor shows the tables in postgresql and mine don't show up.</p>
  
  <p>When I try rake db:migrate the files migrate no problem. rake doesn't throw up any errors, the relevant <code>.rb</code> files are created in the models folder, my schema.rb looks right. It seems postgresql just isn't reading my schema file. </p>
  
  <p>My problem sounds identical to 
  <a href="https://stackoverflow.com/questions/4909831/rake-dbmigrate-doesnt-seem-to-work-in-production">rake db:migrate doesn&#39;t seem to work in production</a></p>
  
  <p>However typing <code>rake db:migrate RAILS_ENV=production</code> doesn't work. (I've tried this a few times after other rake commands like <code>rake db:rollback STEP=3</code> in the past few days because I was paranoid it was the solution, this <a href="https://www.ruby-forum.com/topic/71786" rel="nofollow noreferrer">person on ruby forum</a>, has the same problem and is offered the same answer). </p>
  
  <p>This is my first attempt at programming anything and I'm loving the tutorial (and the learning curve this problem has turned out to be) Asking here is pretty much my last resort because I've tried everything I can understand online as a possible solution so please help me! Thanks a lot in advance  </p>