added sql scripts;
date sql types are modified