calvinjiang opened a new issue #7179: URL: https://github.com/apache/dolphinscheduler/issues/7179
### 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 When I use the command 'sh script/create-dolphinscheduler.sh' to initialize the database, the structure of tables in the database are outdated. So I checked the procedure of initializing database. I found that the sql file was not the latest. <img width="939" alt="image" src="https://user-images.githubusercontent.com/4928204/144713307-0f00b955-df9a-4e0f-acad-0fbe6b7fd252.png"> ### What you expected to happen I suppose that it's really important to initialize the database with a standard procedure. It's very useful and convenient. I expect that the procedure of initializing database can be used for the latest sql file. ### How to reproduce 1. Download a latest distribution and decompress it. 2. Enter the root directory of the decompressed file. 3. Execute 'sh script/create-dolphinscheduler.sh' ### Anything else _No response_ ### Version 2.0.0 ### 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]
