dosubot[bot] commented on issue #7992:
URL: 
https://github.com/apache/incubator-devlake/issues/7992#issuecomment-2325531002

   <!-- Greeting -->
   Hey @SxjAccount! I'm here to help you with any issues or questions you have 
regarding the repository. I can assist with bugs, answer questions, and help 
you become a contributor.
   
   <!-- Answer -->
   I found a similar closed issue where a user encountered a problem with 
launching DevLake. The issue was resolved by ensuring the database was empty 
and redoing the installation from scratch 
<sup>[[1]](https://github.com/apache/incubator-devlake/issues/6440)</sup>.
   
   The "New Migration Scripts Detected" notification appears because DevLake 
has identified new migration scripts that need to be executed to update the 
database schema. Clicking "Proceed to Database Migration" will execute these 
migration scripts. The migration process involves checking the 
`migration_history` table, sorting the scripts by `Version` and `Name`, 
executing them, and saving the results in the `migration_history` table 
<sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/docs/DeveloperManuals/DBMigration.md)</sup>.
   
   Regarding the impact on custom tables and data you have added to the 
database, the migration scripts are designed to modify the database schema as 
defined by the scripts. If your custom tables and data are not referenced or 
affected by these scripts, they should remain unaffected. However, if the 
migration scripts include changes that impact your custom tables or data, those 
changes will be applied. To ensure your custom tables and data are not 
affected, you should review the migration scripts before proceeding 
<sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/docs/DeveloperManuals/DBMigration.md)</sup>.
   
   For more detailed examples and best practices, you can refer to the [DevLake 
migration 
documentation](https://github.com/apache/incubator-devlake/blob/main/backend/core/models/migrationscripts)
 
<sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/docs/DeveloperManuals/DBMigration.md)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to