Currently, the migration command defaults to applying "Up" migrations, and users can specify the --down flag to roll back migrations. This enhancement proposes adding a --version flag to both the --up and --down migration commands. The --version flag allows users to target a specific version when running migrations, providing more flexibility.
Currently, the migration command defaults to applying "Up" migrations, and users can specify the
--downflag to roll back migrations. This enhancement proposes adding a--versionflag to both the--upand--downmigration commands. The--versionflag allows users to target a specific version when running migrations, providing more flexibility.