View Source API Reference Introspex v0.2.0

Modules

Introspex generates Ecto schemas from existing PostgreSQL databases.

Generates Phoenix context modules with CRUD functions for database tables.

Introspects PostgreSQL database schema including tables, views, materialized views, columns, constraints, and foreign keys.

Analyzes foreign key relationships between tables to determine Ecto associations (belongs_to, has_many, has_one, many_to_many).

Maps PostgreSQL data types to Ecto schema types.

Builds Ecto schema definitions from database introspection data.

Mix Tasks

Generates Ecto schemas from an existing PostgreSQL database.