Zakir
Zakir
@pratiyush05 1. What does this front-end interface look like? Can it be displayed normally?  2. I want to see which step of migration execution went wrong or got stuck....
@pratiyush05 Add a `custom_field6` field in the _tool_tapd_stories table with type text, then restart and perform the migration operation again.
If you still have problems with the above, you can also do this: 1. INSERT INTO `_devlake_migration_history` (`created_at`, `script_version`, `script_name`, `comment`) VALUES ('2023-11-24 07:39:01.113', 20230411000004, X'6D6F64696679207461706420637573746F6D206669656C64206E616D65', X'74617064'); 2. DROP TABLE...
> @abeizn Why should users run such sql scripts? Yes, I'm not sure what happened before that caused the database field to be deleted. It can only be modified manually....
@pratiyush05 https://github.com/apache/incubator-devlake/blob/0f990b109c52dfaf7103405f043d449452a751e8/backend/plugins/tapd/models/migrationscripts/20230411_modify_custom_field_name.go#L42 There is a `fallthrough` here, so that when issuesName is "_tool_tapd_stories", the program will continue to execute the case of "_tool_tapd_tasks"
@pratiyush05 I'm not sure why it crashed. Maybe there were changes in the database, maybe the migration failed during execution, or maybe a developer changed this value.
@dwaghulade It has included in https://github.com/apache/incubator-devlake/releases/tag/v0.20.0-beta8
@klesh @antoniomuso v0.20 support full sync mode, you can upgrade it to [v0.20.0-beta10 ](https://github.com/apache/incubator-devlake/releases/tag/v0.20.0-beta10)
@GAlexIHU @germelindam Run this sql in DB and then restart devlake. ``` ALTER TABLE _tool_tapd_stories ADD COLUMN custom_field6 TEXT; ```