From rows to reasoning: Designing databases for AI apps and agents