Generates an Ecto migration that creates the attesto_mcp_anubis_sessions table
backing AttestoMCP.Anubis.SessionStore.Ecto (a Postgres-backed
Anubis.Server.Session.Store adapter).
One row per MCP session, keyed by the client's Mcp-Session-Id; state is the
serialized Anubis session map (client_info, capabilities, frame), persisted
so a client can reconnect after a deploy with its initialized state restored.
Usage
mix attesto_mcp.gen.session_migration --repo MyApp.RepoOptions
--repo- the Ecto repo the migration is generated for. May be given more than once. When omitted the host application's configured repos are used.--migrations-path- directory the migration file is written to. Defaults to the repo'spriv/<repo>/migrations.
The generated migration is reversible.
Existing installations that used the former attesto_mcp_sessions name
should apply the data-preserving rename documented in the README. Do not
rename an attesto_mcp_server table that has namespace and record
columns; that is a different schema.