Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

841 B
Raw Blame
## Every data app owns a resource collection, a root collection of the `data-apps` namespace, from its insert on.
## Apps created before the namespace existed hold theirs in the default namespace, and an app whose collection
## was deleted has none: give the first the namespace and the second a collection.

databaseChangeLog:
  ## The Postgres index on data_app.resource_collection_id moved to 2026/20261023_data_app_resource_collection_index,
  ## which retires its old v65.2026-10-06T00:00:00 row.
  - changeSet:
      id: v65.2026-10-06T00:00:01
      author: timofei
      comment: Put every data app's resource collection in the data-apps namespace, creating the missing ones
      changes:
        - customChange:
            class: metabase.app_db.custom_migrations.MoveDataAppResourceCollectionsToTheirNamespace
      rollback: []