Summary
Implement migration status reporting for file-based migrations.
The current CLI accepts the status command but only prints the migrations directory and a placeholder message.
Current behavior
vix orm status reaches the DB migrator, but the migrator does not compare migration files with the migration tracking table.
Users cannot currently see:
- applied migrations;
- pending migrations;
- modified migrations;
- missing migration files;
- the last applied migration.
Expected behavior
The migration runner must expose enough information for the CLI to display the current migration state without modifying the database schema.
Scope
Suggested files
modules/db/include/vix/db/mig/FileMigrationsRunner.hpp
modules/db/src/mig/FileMigrationsRunner.cpp
modules/db/tools/migrator/MigratorCLI.cpp
modules/db/tests/file_migrations_runner_test.cpp
Acceptance criteria
Non-goals
This issue does not include:
- an interactive migration UI;
- automatic repair of migration history;
- ORM migration status;
- migration generation.
Suggested labels
scope:db
type:feature
good first issue
status:ready
Summary
Implement migration status reporting for file-based migrations.
The current CLI accepts the
statuscommand but only prints the migrations directory and a placeholder message.Current behavior
vix orm statusreaches the DB migrator, but the migrator does not compare migration files with the migration tracking table.Users cannot currently see:
Expected behavior
The migration runner must expose enough information for the CLI to display the current migration state without modifying the database schema.
Scope
vix_db_migrator status.Suggested files
modules/db/include/vix/db/mig/FileMigrationsRunner.hppmodules/db/src/mig/FileMigrationsRunner.cppmodules/db/tools/migrator/MigratorCLI.cppmodules/db/tests/file_migrations_runner_test.cppAcceptance criteria
Non-goals
This issue does not include:
Suggested labels
scope:dbtype:featuregood first issuestatus:ready