# DynamoDB Memory schema now requires GSI on created_at

> To prevent CreateTable validation errors and ensure reliable, time-ordered queries, the DynamoDB schema for the user Memory table now requires a global secondary index (GSI) on created_at.

- Published: 2025-12-03
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/dynamodb-memory-schema-now-requires-gsi-on-created-at
- Markdown: https://agno-com-nine.vercel.app/articles/dynamodb-memory-schema-now-requires-gsi-on-created-at.md

To prevent CreateTable validation errors and ensure reliable, time-ordered queries, the DynamoDB schema for the user Memory table now requires a global secondary index (GSI) on created_at. Deployments using DynamoDB must add this index or recreate the table using the updated schema.

**Details**

- Action required for DynamoDB users: add the created_at GSI or reprovision the table.
- Eliminates schema validation failures and improves query performance.
- No changes required for other storage backends.

**Who this is for:** Teams running Agno with AWS DynamoDB for Memory storage.
