Gallery 3.2

Added cascade  delete;