Added the database script for stv