Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be several reasons why Flyway is not creating a table in Micronaut. Some possible reasons include:

  1. Incorrect configuration: Make sure that the Flyway configuration is correct and that the database connection properties are properly set.

  2. Incorrect migration scripts: Ensure that the migration scripts are properly formatted and contain valid SQL statements.

  3. Migration scripts not executed: Verify that the migration scripts have been executed by Flyway. Check the database to see if the migration table has been created and if the migration scripts have been applied.

  4. Database permissions: Ensure that the database user has the necessary permissions to create tables and execute migration scripts.

  5. Conflicting dependencies: Check for conflicting dependencies that may be causing issues with Flyway. Ensure that the correct versions of the required dependencies are being used.