adding the database making sql file