Configuration of database: sqlite for development and pg for production