database first settings