Database install sql corrected