zhang-arvin opened a new pull request, #4503: URL: https://github.com/apache/streampark/pull/4503
## Description This PR fixes issue #4340 by adding spring.sql.init auto-initialization for MySQL and PostgreSQL. When the application starts and the target table does not exist, Spring Boot can automatically create tables based on the schema.sql configuration. This ensures that the required database tables are created automatically during the first startup. ## Changes - Added `spring.sql.init.mode=always` configuration for MySQL and PostgreSQL profiles - Added schema initialization SQL files for automatic table creation ## Testing - Verified that tables are auto-created on first startup with MySQL - Verified that tables are auto-created on first startup with PostgreSQL -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
