Generates database-specific migration content for Recollect tables.
This module provides adapter-aware migration generation, allowing Recollect to work with different database backends (PostgreSQL, libSQL).
Usage
# In a migration file
defmodule MyApp.Repo.Migrations.CreateRecollectTables do
use Ecto.Migration
def up do
Recollect.MigrationGenerator.generate_up(Recollect.DatabaseAdapter.LibSQL, dimensions: 768)
end
def down do
Recollect.MigrationGenerator.generate_down()
end
end
Summary
Functions
Generates the down migration content for dropping all Recollect tables.
Generates the up migration content for creating all Recollect tables.