created postgresql database.
ran this command,
rake db:migrate