create db.sql file