calvinjiang opened a new issue #6159:
URL: https://github.com/apache/dolphinscheduler/issues/6159


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   The field of the environment code is set to different default value  in the 
file dolphinscheduler_postgre.sql and  dolphinscheduler_mysql.sql .
   In the dolphinscheduler_mysql.sql , the default value of the envrionment 
code is set to '-1':
   
![image](https://user-images.githubusercontent.com/4928204/132790181-b45d5e81-df5f-49fc-88fd-cfbff8be8115.png)
   
   But in the dolphinscheduler_postgre.sql,  the default value of the 
envrionment code is set to null:
   
![image](https://user-images.githubusercontent.com/4928204/132790341-16df3422-d696-4ba8-b024-65ee1d5274d9.png)
   
   
   
   ### What you expected to happen
   
   We'd better to use the same default value for the environment code in 
different types of database.
   
   ### How to reproduce
   
   Please check out these two files, and you will see the differences.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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