adding database in postgres for kchess