change to postgresql
set up schema