HexdocsMcp.Migrations (HexDocs MCP v0.6.0)
View SourceShared migrations that can be used in regular migrations and tests.
This provides a consistent way to create database structure both during regular migrations and in test environments.
Summary
Functions
Creates the embeddings table.
Drops the embeddings table.
Updates the embeddings table schema to ensure all required columns exist.
Functions
Creates the embeddings table.
Options
:prefix
- The prefix to run the migrations in
Drops the embeddings table.
Options
:prefix
- The prefix to run the migrations in
Updates the embeddings table schema to ensure all required columns exist.
This should be called on application start to ensure the database schema is up-to-date.