database script and UML diagram for SIS