mix phoenix_ai_store.gen.migration (PhoenixAI.Store v0.1.0)

Copy Markdown View Source

Generates a migration file for the PhoenixAI.Store tables.

$ mix phoenix_ai_store.gen.migration

For existing installations that need to add Long-Term Memory tables:

$ mix phoenix_ai_store.gen.migration --ltm

For existing installations that need to add Cost Tracking tables:

$ mix phoenix_ai_store.gen.migration --cost

For existing installations that need to add Event Log tables:

$ mix phoenix_ai_store.gen.migration --events

Options

  • --prefix - Table name prefix (default: phoenix_ai_store_)
  • --migrations-path - Output directory (default: priv/repo/migrations)
  • --ltm - Generate only the Long-Term Memory tables (facts, profiles)
  • --cost - Generate only the Cost Tracking tables (cost_records)
  • --events - Generate only the Event Log tables (events)