generation database