Grunt plugin to run Flyway database migration tasks (clean, baseline, migrate, repair, validate, info) directly from Gruntfiles. Latest version 0.3.2 uses Flyway 3.2 and requires Grunt >=0.4.2 and Java runtime. Notably, this plugin is explicitly marked as not thoroughly tested and uses an outdated Flyway version. It supports all core Flyway command-line options but is deprecated in favor of direct Flyway CLI usage or modern build tool integrations.
npm install grunt-flywayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Loads grunt-flyway plugin, configures a migrate task with MySQL driver and connection details from environment variables.
Use Flyway CLI directly or a modern build tool plugin (e.g., flyway-maven-plugin, flyway-gradle-plugin).
Test thoroughly in non-production environments before use.
Install Java and ensure java is in PATH.
Cross-reference with official Flyway command-line documentation.
Ensure you have added 'grunt.loadNpmTasks('grunt-flyway');' in your Gruntfile before configuring the task.Run 'npm install grunt-flyway --save-dev' in your project directory.
Install Java (JRE or JDK) and add its bin directory to your system PATH.