I just found the answer at: http://dailyjs.com/2011/09/26/heroku/
You seemingly just create a schema.js file which connects to the database as usual and includes all the necessary commands to create the desired tables and then just run that file using:
"heroku run node schema.js"
(Sorry. I'm very new to this stuff)