sql schema for poolinfo table