[Bug] External MariaDB datasource collections not visible in UI after upgrading to v2.0.21

Describe the bug

After upgrading from v2.0.20 to v2.0.21, collections from an external MariaDB datasource are no longer accessible in the UI. Both v1 and v2 pages report that the collections may have been deleted, even though they still exist.

Steps to reproduce

  1. Have a working external MariaDB datasource configured (working fine on v2.0.20)
  2. Upgrade to v2.0.21
  3. Open any page that references collections from the external datasource

Expected behaviour

Collections from the external datasource should load and be usable as normal.

Actual behaviour

  • In Data Source settings, the external datasource shows as enabled and loaded
  • In the UI (both v1 and v2 pages), collections from that datasource are not visible
  • Pages referencing those collections display a warning that the collection may have been deleted

What I’ve tried

  • Re-enabling the datasource
  • Reloading collections via the configure menu
  • Upgrading further to v2.0.22 — issue persists

Environment

  • Docker Nocobase version: v2.0.21 (upgrade from v2.0.20)
  • Database: MariaDB (external datasource)

The bug has been fixed. Please upgrade to the latest version and check if the problem is resolved.Back up your database before upgrading.