Loads and discovers schema migration modules from priv/migrations.
Summary
Functions
Discovers all .ex files under priv/migrations for the current project.
Loads a schema module from a file path and returns its change/0 statements.
Types
Functions
@spec discover() :: [String.t()]
Discovers all .ex files under priv/migrations for the current project.
Loads a schema module from a file path and returns its change/0 statements.
Supports both flat CQL string lists and struct-based %AshScylla.Schema{}
entries. Struct-based entries are automatically flattened via
AshScylla.Schema.flatten/1.