wendongdi opened a new pull request, #11887:
URL: https://github.com/apache/dolphinscheduler/pull/11887

   <!--Thanks very much for contributing to Apache DolphinScheduler. Please 
review 
https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html
 before opening a pull request.-->
   
   
   ## Purpose of the pull request
   
   fix #11875 
   
   ## Brief change log
   defining procedures to determine whether an index or column already exists, 
and if it exists, delete it and then create a new one
   - 
dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.3_schema/mysql/dolphinscheduler_ddl.sql
   - 
dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema/mysql/dolphinscheduler_ddl.sql
   - 
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/mysql/dolphinscheduler_ddl.sql
   
   fix bugs
   - 
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.0_schema/mysql/dolphinscheduler_ddl.sql
   
   
   ## Verify this pull request
   This pull request is already covered by existing tests:
   test steps:
   1. create an empty mysql database
   2. run 
`org.apache.dolphinscheduler.tools.datasource.UpgradeDolphinScheduler` with 
profile 'init'
   3. run 
`org.apache.dolphinscheduler.tools.datasource.UpgradeDolphinScheduler` with 
profile 'upgrade'
   
![图片](https://user-images.githubusercontent.com/49931055/189394391-a6d3b798-af7b-4617-859b-e1bfa41926e3.png)
   
   


-- 
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]

Reply via email to