SQL scripts for database setup