API Reference ecto_extract_migrations v0.1.0

Modules

The main entry point is lib/mix/tasks/ecto_extract_migrations.ex. This module mainly has common library functions.

Handle SQL whitespace lines.

Create migration which uses execute to run raw SQL

Parser for ALTER SEQUENCE.

Parser for SQL comments.

Utility functions for parsers.

Parser for CREATE EXTENSION.

Parser for CREATE FUNCTION.

Parser for CREATE SCHEMA.

Parser for CREATE SEQUENCE.

Parser for CREATE TRIGGER.

Parser for SQL whitespace.

Mix Tasks

Mix task to create Ecto migration files from database schema SQL file.