Created sql script for database