add sql scripts for psi trayscan database