Updated database installer for extra tables

Added ticket table