yangruochen commented on issue #3845:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/3845#issuecomment-699908978


   > I think the problem is in the schema file. Not here.
   > In order to ensure that the table structure metadata is up to date, we 
need to execute the upgrade-dolphinscheduler.sh script at startup. This script 
will automatically check the current version number and execute the 
corresponding upgrade sql file.
   > 
   > Therefore, we require that the sql file in the schema must meet the 
ability of repeatable execution.
   > In order to achieve this goal, if we need to create the table 
t_ds_process_definition_version, then we should use
   > 
   > ```
   > create table IF NOT EXISTS t_ds_process_definition_version;
   > ```
   > 
   > or
   > 
   > ```
   > drop table if exists t_ds_process_definition_version;
   > create table t_ds_process_definition_version;
   > ```
   
   ok, thank you, I correct it.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to