Switches db configuration from sqlite to postgres, and then initializes development, test and production databases