Minor changes
SQlite to PostgreSQL