A Visual Studio Code extension designed to streamline Rails migration management. Run migration commands directly from your editor with CodeLens annotations or the Command Palette.
Features
CodeLens Annotations: When viewing a Rails migration file, see clickable "Up", "Down", and "Redo" options above the first line.
Command Palette Support: Access all migration commands, including "Migrate All", from the Command Palette.
Version Detection: Automatically extracts the migration version from the filename for precise command execution.
Installation
Via VS Code Marketplace:
Open VS Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Search for "Rails Migration Boy".
Click "Install".
Manual Installation (Optional):
Download the .vsix file from the Marketplace or build it locally.
In VS Code, go to Extensions view > "..." menu > "Install from VSIX".
Select the downloaded .vsix file.
Usage
CodeLens Commands
Open a Rails migration file (e.g., 20230304123456_create_users.rb) in the db/migrate directory.