Data is lost after redeploy

Environment │ production
Database │ sqlite

Looks like I am using sqlite… How can I switch to postgres?
I’ve created config/env/production/database.js and .env.production. What else should I do?