Kanta.MigrationVersionChecker (kanta v0.5.1)

GenServer responsible for checking if a new migration version is available for Kanta.

This module runs a version check when started to compare the current database migration version against the latest available version. If a newer version is available, it displays a formatted warning message in the console with:

  • Current and latest version numbers
  • Step-by-step instructions for updating
  • Commands to generate and run the required migrations

The checker supports both PostgreSQL and SQLite3 databases and automatically detects which adapter is being used.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)