fix: missing cross-base link fields when update dbTableName
If the current table is associated with the link field or lookup field of another base, modifying dbTableName will lead to a 500 error in modifying the link field cell.
In the original code, when updating the database name, the fkHostTableName in the relevant link field and lookup field was updated. However, the code query condition restricts only querying the field information under the current baseId. But since the cross-base link was introduced later, the fkHostTableName may come from different bases. At this time, a query of global fields is needed to ensure that the modification is correct.
Deployment Status: ✅ Success 🔗 Preview URL: https://pr-1200.sealosgzg.site
🧹 Preview Environment Cleanup
- PR #1200 has been Merged
- Preview environment has been deleted
- Cleanup time: 2024-12-29T07:08:49.303Z