sudo service postgresql restart

dropdb 'projectname_production'

sudo -u postgres psql
drop database projectname_production;

create database projectname_production owner deployer;