updated database to initialize a new psql schema with a unique ID only once and then write simulation data into tables within that schema