Learn how to add custom database schemas to Eliza plugins for shared data access
agentId
field), along with actions to write data and providers to read it.
agentId
field. Here’s an example of a user preferences table:
agentId
field means data is shared across all agentsruntime.databaseAdapter.db
agentId
in your tables:
userId
or other identifiers to scope data appropriately{ theme: 'dark', language: 'es' }
agentId
for shared dataparseKeyValueXml
for structure