Skip to content

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

Skip instance-local timestamps in serialization (#84654)

Alexander Polyankin031c8cc9ae6d
diff --git a/.claude/skills/serdes-yaml-edit/SKILL.md b/.claude/skills/serdes-yaml-edit/SKILL.md
index 1d6413ecddd..c0719383d99 100644
--- a/.claude/skills/serdes-yaml-edit/SKILL.md
+++ b/.claude/skills/serdes-yaml-edit/SKILL.md
@@ -238,6 +238,5 @@ The filename slug should match the card name (lowercase, underscored). If you re
- `entity_id` - this is the identity of the object, changing it creates a new object on import
- `serdes/meta` - internal serdes metadata, leave it alone
-- `created_at` - timestamp, no reason to change
- `creator_id` - email reference, leave it
- `metabase_version` - informational, leave it
diff --git a/bin/lint-migrations-file/src/lint_migrations_file.cljc b/bin/lint-migrations-file/src/lint_migrations_file.cljc
index 7aacd619975..51d4ab112b1 100644
--- a/bin/lint-migrations-file/src/lint_migrations_file.cljc
+++ b/bin/lint-migrations-file/src/lint_migrations_file.cljc
@@ -180,6 +180,35 @@
#{"datetime" "timestamp" "timestamp without time zone"}
change-log file 49 "00-000"))
+(defn- bare-entity-id-type-changes
+ "The changes of `change-set` that give an `entity_id` column the bare `char(21)` type instead of `${entity_id.type}`."
+ [change-set]
+ (let [bare? #(= "char(21)" (some-> % str/lower-case str/trim))
+ bare-col? (fn [col] (and (= "entity_id" (get-in col [:column :name])) (bare? (get-in col [:column :type]))))]
+ (filter (fn [change]
+ (or (some bare-col? (get-in change [:createTable :columns]))
+ (some bare-col? (get-in change [:addColumn :columns]))
+ (and (= "entity_id" (get-in change [:addNotNullConstraint :columnName]))
+ (bare? (get-in change [:addNotNullConstraint :columnDataType])))
+ (and (= "entity_id" (get-in change [:modifyDataType :columnName]))
+ (bare? (get-in change [:modifyDataType :newDataType])))))
+ (get-in change-set [:changeSet :changes]))))
+
+(defn require-entity-id-type
+ "Ensures that directory-based migration files from `20261019_` on give `entity_id` columns the `${entity_id.type}`
+ type, which carries the byte-wise collation serialization relies on to order entities alike on every app DB."
+ [change-log ^java.io.File file]
+ (when-let [bad-ids (when (and (directory-based-migration-file? file)
+ (not (neg? (compare (subs (.getName file) 0 8) "20261019"))))
+ (->> change-log
+ (filter (comp seq bare-entity-id-type-changes))
+ (map #(get-in % [:changeSet :id]))
+ seq))]
+ (throw (validation-error
+ (str "Migration(s) [" (str/join "," (map #(str "'" % "'") bad-ids))
+ "] give entity_id the bare char(21) type; use ${entity_id.type}")
+ {:invalid-ids (vec bad-ids)}))))
+
(def ^:private directory-based-id-format-re
"For directory-based migration files (v60+), IDs must be prefixed with the correct version.
E.g., `v60.my-migration-name` or `v60.1`"
@@ -321,6 +350,7 @@
(require-no-bare-blob-or-text-types change-log)
(require-no-bare-boolean-types change-log file)
(require-no-datetime-type change-log file)
+ (require-entity-id-type change-log file)
(require-table-scoped-existence-preconditions change-log)
(let [{:keys [changeSet]
:as all} (group-by only-key change-log)]
diff --git a/bin/lint-migrations-file/test/lint_migrations_file_test.clj b/bin/lint-migrations-file/test/lint_migrations_file_test.clj
index 53495b1cb6f..72cb459019b 100644
--- a/bin/lint-migrations-file/test/lint_migrations_file_test.clj
+++ b/bin/lint-migrations-file/test/lint_migrations_file_test.clj
@@ -278,6 +278,38 @@
:id "v49.00-033"
:changes [(mock-add-column-changes :columns [(mock-column :type "boolean")])]))))))
+(defn- validate-065 [& changes]
+ (apply validate-file (io/file "065/20261019_test.yaml") changes))
+
+(defn- validate-065-older [& changes]
+ (apply validate-file (io/file "065/20261018_test.yaml") changes))
+
+(deftest ^:parallel require-entity-id-type-test
+ (testing "should allow \"${entity_id.type}\" entity_id columns"
+ (is (= :ok
+ (validate-065
+ (mock-change-set
+ :id "v65.2026-10-19T00:00:00"
+ :changes [(mock-add-column-changes :columns [(mock-column :name "entity_id" :type "${entity_id.type}")])])))))
+ (testing "should prevent bare char(21) entity_id columns in files from 20261019 on"
+ (doseq [change [(mock-add-column-changes :columns [(mock-column :name "entity_id" :type "char(21)")])
+ (mock-create-table-changes :columns [(mock-column :name "entity_id" :type "CHAR(21)")])
+ {:addNotNullConstraint {:tableName "my_table" :columnName "entity_id" :columnDataType "char(21)"}}
+ {:modifyDataType {:tableName "my_table" :columnName "entity_id" :newDataType "char(21)"}}]]
+ (is-thrown-with-error-info?
+ "Migration(s) ['v65.2026-10-19T00:00:00'] give entity_id the bare char(21) type; use ${entity_id.type}"
+ {:invalid-ids ["v65.2026-10-19T00:00:00"]}
+ (validate-065 (mock-change-set :id "v65.2026-10-19T00:00:00" :changes [change] :rollback nil))))
+ (testing "but not in older migrations, nor for other columns or other entity_id types"
+ (is (= :ok (validate-065-older (mock-change-set
+ :id "v65.2026-10-18T00:00:00"
+ :changes [(mock-add-column-changes :columns [(mock-column :name "entity_id" :type "char(21)")])]))))
+ (doseq [column [(mock-column :name "other_id" :type "char(21)")
+ (mock-column :name "entity_id" :type "bigint")]]
+ (is (= :ok (validate-065 (mock-change-set
+ :id "v65.2026-10-19T00:00:00"
+ :changes [(mock-add-column-changes :columns [column])]))))))))
+
(deftest ^:parallel require-rollback-test
(testing "change types with no automatic rollback support"
(testing "missing rollback key fails"
diff --git a/enterprise/backend/src/metabase_enterprise/custom_viz_plugin/models/custom_viz_plugin.clj b/enterprise/backend/src/metabase_enterprise/custom_viz_plugin/models/custom_viz_plugin.clj
index f20d5083c71..ff2993f661c 100644
--- a/enterprise/backend/src/metabase_enterprise/custom_viz_plugin/models/custom_viz_plugin.clj
+++ b/enterprise/backend/src/metabase_enterprise/custom_viz_plugin/models/custom_viz_plugin.clj
@@ -75,8 +75,7 @@
;; dev-only plugins are never served from another instance
:dev_bundle_url]
:defaults {:enabled true}
- :transform {:created_at (serdes/date)
- :bundle {:export bundle->b64
+ :transform {:bundle {:export bundle->b64
:import b64->bundle}}})
(defn- bundle-columns
diff --git a/enterprise/backend/src/metabase_enterprise/data_apps/generate/app.clj b/enterprise/backend/src/metabase_enterprise/data_apps/generate/app.clj
index dbe34a56fba..65b91f2f53d 100644
--- a/enterprise/backend/src/metabase_enterprise/data_apps/generate/app.clj
+++ b/enterprise/backend/src/metabase_enterprise/data_apps/generate/app.clj
@@ -8,9 +8,7 @@
[metabase-enterprise.data-apps.schema :as data-apps.schema]
[metabase-enterprise.serialization.core :as serialization]
[metabase.collections.core :as collections]
- [metabase.models.interface :as mi]
[metabase.util :as u]
- [metabase.util.date-2 :as u.date]
[metabase.util.i18n :refer [tru]]
[metabase.util.malli :as mu]
[metabase.util.malli.registry :as mr]))
@@ -44,12 +42,10 @@
(throw (ex-info (tru "Pass a slug: \"{0}\" is not a valid one." slug) {:status-code 400})))
app-id (or entity_id (u/generate-nano-id))
collection-id (or collection_id (u/generate-nano-id))
- created-at (u.date/format (mi/current-timestamp))
collection {:name (str "Data App: " slug)
:namespace "data-apps"
:entity_id collection-id
:slug (collections/slugify (str "Data App: " slug))
- :created_at created-at
:serdes/meta [{:model "Collection" :id collection-id
:label (serialization/slugify-name (str "Data App: " slug))}]}
app (m/assoc-some {:version data-app.config/supported-app-version
@@ -58,7 +54,6 @@
:path bundle-path
:collection collection-id
:entity_id app-id
- :created_at created-at
:serdes/meta [{:model "DataApp" :id app-id :label slug}]}
:description description)]
{:files [(file app nil)
diff --git a/enterprise/backend/src/metabase_enterprise/data_apps/generate/resources.clj b/enterprise/backend/src/metabase_enterprise/data_apps/generate/resources.clj
index 9b3b5e351b5..05f32334a62 100644
--- a/enterprise/backend/src/metabase_enterprise/data_apps/generate/resources.clj
+++ b/enterprise/backend/src/metabase_enterprise/data_apps/generate/resources.clj
@@ -18,7 +18,6 @@
[metabase.lib-be.core :as lib-be]
[metabase.lib.core :as lib]
[metabase.lib.schema :as lib.schema]
- [metabase.models.interface :as mi]
[metabase.models.serialization :as serdes]
[metabase.queries.core :as queries]
[metabase.util.i18n :refer [tru]]
@@ -147,7 +146,6 @@
query :- ::lib.schema/query]
{:entity_id entity-id
:name card-name
- :created_at (mi/current-timestamp)
:card_schema queries/current-card-schema-version
:type :question
:display :table
diff --git a/enterprise/backend/src/metabase_enterprise/data_apps/models/data_app.clj b/enterprise/backend/src/metabase_enterprise/data_apps/models/data_app.clj
index 518dc8f318e..4cb36942a0f 100644
--- a/enterprise/backend/src/metabase_enterprise/data_apps/models/data_app.clj
+++ b/enterprise/backend/src/metabase_enterprise/data_apps/models/data_app.clj
@@ -156,8 +156,7 @@
:enabled
;; set by the import itself
:bundle_hash]
- :transform {:created_at (serdes/date)
- ;; the app's resource collection, a collection in the `data-apps` namespace that loads before the app
+ :transform {;; the app's resource collection, a collection in the `data-apps` namespace that loads before the app
:resource_collection_id (assoc (serdes/fk :model/Collection) :as :collection)
:name {:as :slug :export identity :import identity}
:display_name {:as :name :export identity :import identity}
diff --git a/enterprise/backend/src/metabase_enterprise/transform_testing/models.clj b/enterprise/backend/src/metabase_enterprise/transform_testing/models.clj
index 66c232d9487..99ce43e83d3 100644
--- a/enterprise/backend/src/metabase_enterprise/transform_testing/models.clj
+++ b/enterprise/backend/src/metabase_enterprise/transform_testing/models.clj
@@ -109,8 +109,7 @@
(defmethod serdes/make-spec "TransformTest"
[_model-name _opts]
{:copy [:entity_id :name :description :inputs :expectations]
- :transform {:created_at (serdes/date)
- :transform_id (serdes/fk :model/Transform)
+ :transform {:transform_id (serdes/fk :model/Transform)
:creator_id (serdes/fk :model/User)}})
(defmethod serdes/deserialization-dependencies "TransformTest"
diff --git a/enterprise/backend/src/metabase_enterprise/transforms_python/models/python_library.clj b/enterprise/backend/src/metabase_enterprise/transforms_python/models/python_library.clj
index b1f070528e0..40e60636fc0 100644
--- a/enterprise/backend/src/metabase_enterprise/transforms_python/models/python_library.clj
+++ b/enterprise/backend/src/metabase_enterprise/transforms_python/models/python_library.clj
@@ -85,8 +85,7 @@
(defmethod serdes/make-spec "PythonLibrary"
[_model-name _opts]
- {:copy [:path :source :entity_id]
- :transform {:created_at (serdes/date)}})
+ {:copy [:path :source :entity_id]})
(defmethod serdes/storage-path "PythonLibrary" [entity _ctx]
[{:label "python-libraries"} {:label (:path entity) :key (:entity_id entity)}])
diff --git a/enterprise/backend/test/metabase_enterprise/data_apps/generate/resources_test.clj b/enterprise/backend/test/metabase_enterprise/data_apps/generate/resources_test.clj
index 0e742df9456..ff9d1e716f9 100644
--- a/enterprise/backend/test/metabase_enterprise/data_apps/generate/resources_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/data_apps/generate/resources_test.clj
@@ -512,7 +512,6 @@
:type "question"
:display "table"
:creator_id "[email protected]"
- :created_at string?
:card_schema pos-int?
:visualization_settings {}
:parameters []
diff --git a/enterprise/backend/test/metabase_enterprise/remote_sync/impl_test.clj b/enterprise/backend/test/metabase_enterprise/remote_sync/impl_test.clj
index 9d717a1eb09..bac1af0a951 100644
--- a/enterprise/backend/test/metabase_enterprise/remote_sync/impl_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/remote_sync/impl_test.clj
@@ -1305,7 +1305,6 @@ source: |
def shared_func():
return 42
entity_id: %s
-created_at: '2024-08-28T09:46:18.671622Z'
serdes/meta:
- id: %s
model: PythonLibrary
diff --git a/enterprise/backend/test/metabase_enterprise/remote_sync/snippets_test.clj b/enterprise/backend/test/metabase_enterprise/remote_sync/snippets_test.clj
index 42534e6589f..19378fbddc5 100644
--- a/enterprise/backend/test/metabase_enterprise/remote_sync/snippets_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/remote_sync/snippets_test.clj
@@ -262,7 +262,6 @@
description: null
entity_id: %s
slug: %s
-created_at: '2024-08-28T09:46:18.671622Z'
archived: false
type: null
parent_id: null
diff --git a/enterprise/backend/test/metabase_enterprise/remote_sync/test_helpers.clj b/enterprise/backend/test/metabase_enterprise/remote_sync/test_helpers.clj
index bf9f55be513..3457bbfecf6 100644
--- a/enterprise/backend/test/metabase_enterprise/remote_sync/test_helpers.clj
+++ b/enterprise/backend/test/metabase_enterprise/remote_sync/test_helpers.clj
@@ -21,7 +21,6 @@
description: null
entity_id: %s
slug: %s
-created_at: '2024-08-28T09:46:18.671622Z'
archived: false
type: %s
parent_id: %s
@@ -51,7 +50,6 @@ is_sample: false
description: null
entity_id: %s
slug: %s
-created_at: '2024-08-28T09:46:18.671622Z'
archived: false
type: %s
parent_id: %s
@@ -76,7 +74,6 @@ is_sample: false
(format "name: %s
description: null
entity_id: %s
-created_at: '2024-08-28T09:46:24.692002Z'
creator_id: [email protected]
display: table
archived: false
@@ -117,7 +114,6 @@ document_id: null
(str/join "\n" (map (fn [dc]
(format "- entity_id: %s
card_id: %s
- created_at: '2024-08-28T09:46:24.733016Z'
row: 0
col: 0
size_x: 4
@@ -140,7 +136,6 @@ document_id: null
(format "name: %s
description: null
entity_id: %s
-created_at: '2024-08-28T09:46:24.726993Z'
creator_id: [email protected]
archived: false
collection_id: %s
@@ -468,7 +463,6 @@ data_source: null
owner_email: null
owner_user_id: null
is_published: %s
-created_at: '2024-08-28T09:46:18.671622Z'
archived_at: null
deactivated_at: null
data_layer: null
@@ -500,7 +494,6 @@ serdes/meta:
(format "name: %s
display_name: %s
description: %s
-created_at: '2024-08-28T09:46:18.671622Z'
active: true
visibility_type: normal
table_id:
@@ -563,7 +556,6 @@ database_partitioned: null
(let [eid (or entity-id segment-name)]
(format "archived: false
caveats: null
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
definition:
database: %s
@@ -622,7 +614,6 @@ serdes/meta:
(format "name: %s
description: null
entity_id: %s
-created_at: '2024-08-28T09:46:24.692002Z'
creator_id: [email protected]
archived: false
model_id: %s
@@ -659,7 +650,6 @@ serdes/meta:
description: null
entity_id: %s
collection_id: %s
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
source_database_id: %s
source:
@@ -687,7 +677,6 @@ serdes/meta:
description: null
entity_id: %s
collection_id: %s
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
source_database_id: test-data (h2)
source:
@@ -719,7 +708,6 @@ serdes/meta:
agg-field-name "Some Field"}}]
(let [eid (or entity-id measure-name)]
(format "archived: false
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
definition:
database: %s
@@ -775,7 +763,6 @@ entity_id: %s
content: '%s'
archived: false
template_tags: null
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
collection_id: %s
serdes/meta:
@@ -792,7 +779,6 @@ serdes/meta:
(format "entity_id: %s
term: %s
definition: %s
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
serdes/meta:
- id: %s
@@ -806,7 +792,6 @@ serdes/meta:
[term definition]
(format "term: %s
definition: %s
-created_at: '2024-08-28T09:46:18.671622Z'
creator_id: [email protected]
serdes/meta:
- id: %s
@@ -817,8 +802,7 @@ serdes/meta:
(defn generate-transform-tag-yaml
"Generates YAML content for a TransformTag with the given `entity-id` and `name`."
[entity-id name]
- (format "created_at: '2024-08-28T09:46:18.671622Z'
-entity_id: %s
+ (format "entity_id: %s
name: %s
serdes/meta:
- id: %s
diff --git a/enterprise/backend/test/metabase_enterprise/remote_sync/transforms_test.clj b/enterprise/backend/test/metabase_enterprise/remote_sync/transforms_test.clj
index 153e000c75a..c5a1c7f93ce 100644
--- a/enterprise/backend/test/metabase_enterprise/remote_sync/transforms_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/remote_sync/transforms_test.clj
@@ -394,7 +394,6 @@
description: null
entity_id: %s
slug: %s
-created_at: '2024-08-28T09:46:18.671622Z'
archived: false
type: null
parent_id: null
@@ -646,7 +645,6 @@ is_sample: false
source: |
%s
entity_id: %s
-created_at: '2024-08-28T09:46:18.671622Z'
serdes/meta:
- id: %s
model: PythonLibrary
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/models/entity_id_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/models/entity_id_test.clj
index 4d0493d0900..120e6e3f686 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/models/entity_id_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/models/entity_id_test.clj
@@ -25,9 +25,6 @@
:model/FieldValues
:model/FieldUserSettings
:model/TableUserSettings
- ;; OsiAiContext is identified by the entity it describes (entity_type + the entity's portable ref); its
- ;; serdes path nests under that entity, so it has no generated entity_id.
- :model/OsiAiContext
;; Settings have human-selected unique names.
:model/Setting})
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/v2/extract_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/v2/extract_test.clj
index aebc7ad35f3..f9f7e8f0d77 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/v2/extract_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/v2/extract_test.clj
@@ -311,8 +311,7 @@
[:field {} ["My Database" nil "Schemaless Table" "Some Field"]]
18]]
:aggregation [[:count {}]]}]
- :database "My Database"}
- :created_at string?}
+ :database "My Database"}}
ser))
(is (not (contains? ser :id)))
(testing "cards depend on their Collection (not the Database/Tables/Fields the query references)"
@@ -326,8 +325,7 @@
:parameter_mappings [{:parameter_id "deadbeef"
:card_id c1-eid
:target [:dimension [:field ["My Database" nil "Schemaless Table" "Some Field"]
- {:source-field ["My Database" "PUBLIC" "Schema'd Table" "Other Field"]}]]}]
- :created_at string?}
+ {:source-field ["My Database" "PUBLIC" "Schema'd Table" "Other Field"]}]]}]}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :table_id)) "table_id always skipped for cards — re-derived on import")
@@ -361,8 +359,7 @@
:fieldRef [:field "Average order total" {:base-type :type/Float}]
:enabled true}]
:column_settings
- {"[\"ref\",[\"field\",[\"My Database\",\"PUBLIC\",\"Schema'd Table\",\"Other Field\"],null]]" {:column_title "Locus"}}}
- :created_at string?}
+ {"[\"ref\",[\"field\",[\"My Database\",\"PUBLIC\",\"Schema'd Table\",\"Other Field\"],null]]" {:column_title "Locus"}}}}
ser))
(is (not (contains? ser :id)))
(testing "cards depend on their Collection (not the Database or the Fields in visualization_settings)"
@@ -375,8 +372,7 @@
:collection_id coll-eid
:dataset_query {:stages [{:source-card c4-eid
:aggregation [[:count {}]]}]
- :database "My Database"}
- :created_at string?}
+ :database "My Database"}}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :table_id)) "table_id stripped")
@@ -406,10 +402,8 @@
:fieldRef [:field "Average order total" {:base-type :type/Float}]
:enabled true}]
:column_settings
- {"[\"ref\",[\"field\",[\"My Database\",\"PUBLIC\",\"Schema'd Table\",\"Other Field\"],null]]" {:column_title "Locus"}}}
- :created_at string?}
- {:action_id action-eid}]
- :created_at string?}
+ {"[\"ref\",[\"field\",[\"My Database\",\"PUBLIC\",\"Schema'd Table\",\"Other Field\"],null]]" {:column_title "Locus"}}}}
+ {:action_id action-eid}]}
ser))
(is (not (contains? ser :id)))
(testing "and depend on all referenced cards and actions"
@@ -544,7 +538,6 @@
{:model "Table", :id "Schemaless Table"}
{:model "Field", :id "email"}
{:model "Dimension", :id dim1-eid}]]]
- [:created_at :string]
[:human_readable_field_id {:optional true} [:maybe [:sequential [:maybe :string]]]]]
ser))
(is (not (contains? ser :id)))
@@ -560,8 +553,7 @@
{:model "Table" :id "Orders"}
{:model "Field" :id "customer_id"}
{:model "Dimension" :id string?}]
- :human_readable_field_id ["My Database" "PUBLIC" "Customers" "name"]
- :created_at string?}
+ :human_readable_field_id ["My Database" "PUBLIC" "Customers" "name"]}
ser))
(testing "have no dependencies; the Database, FK target and human-readable Fields are synthesized on import if missing"
(is (= #{}
@@ -622,8 +614,7 @@
:id s1-eid
:label "snippet_1"}]
:collection_id coll-eid
- :creator_id "[email protected]"
- :created_at string?}
+ :creator_id "[email protected]"}
ser))
(is (not (contains? ser :id)))
(testing "and depend on the Collection"
@@ -639,7 +630,6 @@
:id s2-eid
:label "snippet_2"}]]]
[:creator_id [:= "[email protected]"]]
- [:created_at :string]
[:collection_id {:optional true} :nil]]
ser))
(is (not (contains? ser :id)))
@@ -780,8 +770,7 @@
(let [ser (ts/extract-one "Timeline" empty-id)]
(is (=? {:serdes/meta [{:model "Timeline" :id empty-eid :label "empty_timeline"}]
:collection_id coll-eid
- :creator_id "[email protected]"
- :created_at string?}
+ :creator_id "[email protected]"}
ser))
(is (not (contains? ser :id)))
(testing "depend on the Collection"
@@ -792,13 +781,11 @@
(is (=? {:serdes/meta [{:model "Timeline" :id line-eid :label "populated_timeline"}]
:collection_id coll-eid
:creator_id "[email protected]"
- :created_at string?
:events [{:entity_id event-eid
:serdes/meta [{:model "Timeline" :id line-eid}
{:model "TimelineEvent" :id event-eid}]
:timestamp "2020-04-11T00:00:00Z"
- :creator_id "[email protected]"
- :created_at string?}]}
+ :creator_id "[email protected]"}]}
ser))
(is (not (contains? ser :id)))
(is (not (contains? (-> ser :events first) :id)))
@@ -831,8 +818,7 @@
:stages [{:source-table ["My Database" nil "Schemaless Table"],
:filters [[:< {}
[:field {} ["My Database" nil "Schemaless Table" "Some Field"]]
- 18]]}]}
- :created_at string?}
+ 18]]}]}}
ser))
(is (not (contains? ser :id)))
(testing "have no dependencies; the Database/Table/Fields from the definition are not dependencies"
@@ -872,8 +858,7 @@
:definition {:database "My Database"
:lib/type :mbql/query
:stages [{:source-table ["My Database" nil "Schemaless Table"]
- :aggregation [[:sum {} [:field {} ["My Database" nil "Schemaless Table" "Some Field"]]]]}]}
- :created_at string?}
+ :aggregation [[:sum {} [:field {} ["My Database" nil "Schemaless Table" "Some Field"]]]]}]}}
ser))
(is (not (contains? ser :id)))
(testing "have no dependencies; the Database/Table/Fields from the definition are not dependencies"
@@ -1029,7 +1014,6 @@
(is (=? {:serdes/meta [{:model "Action" :id (:entity_id action) :label "my_action"}]
:creator_id "[email protected]"
:type "implicit"
- :created_at string?
:model_id card-eid-1
:implicit [{:kind :row/update}]}
ser))
@@ -1093,7 +1077,6 @@
:label "my_action"}]
:type "query"
:creator_id "[email protected]"
- :created_at string?
:query [{:dataset_query {:database "My Database"
:lib/type :mbql/query
:stages [{:lib/type :mbql.stage/native
@@ -1134,7 +1117,6 @@
{:model "Table" :id "Schemaless Table"}
{:model "Field" :id "Some Field"}
{:model "FieldValues" :id "0"}] ; Always 0.
- :created_at string?
:values values}
ser))
(is (not (contains? ser :id)))
@@ -1171,7 +1153,6 @@
{:model "Table" :id "Schemaless Table"}
{:model "Field" :id "Some Field"}
{:model "FieldUserSettings" :id "1"}] ; Always 1.
- :created_at string?
:description description
:data_sensitivity :PII}
ser))
@@ -1977,13 +1958,15 @@
:collection_id coll-id}
:model/DashboardTab {tab-id-1 :id
tab-eid-1 :entity_id} {:dashboard_id dash-id
- :name "Tab 1"}
+ :name "Tab 1"
+ :position 0}
:model/DashboardCard _ {:dashboard_id dash-id
:dashboard_tab_id tab-id-1
:card_id card-id-1}
:model/DashboardTab {tab-id-2 :id
tab-eid-2 :entity_id} {:dashboard_id dash-id
- :name "Tab 2"}
+ :name "Tab 2"
+ :position 1}
:model/DashboardCard _ {:dashboard_id dash-id
:dashboard_tab_id tab-id-2
:card_id card-id-2}]
@@ -2026,9 +2009,7 @@
:entity_id metabot-prompt-eid
:card_id model-eid
:serdes/meta [{:model "Metabot" :id metabot-eid}
- {:model "MetabotPrompt" :id metabot-prompt-eid}]
- :created_at string?}]
- :created_at string?}
+ {:model "MetabotPrompt" :id metabot-prompt-eid}]}]}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :use_verified_content)))
@@ -2071,9 +2052,7 @@
:entity_id metabot-prompt-eid
:card_id card-eid
:serdes/meta [{:model "Metabot" :id metabot-eid}
- {:model "MetabotPrompt" :id metabot-prompt-eid}]
- :created_at string?}]
- :created_at string?}
+ {:model "MetabotPrompt" :id metabot-prompt-eid}]}]}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :use_verified_content)))
@@ -2129,9 +2108,7 @@
"model" "dashboard"}}]}
:creator_id (:email user)
:collection_id (:entity_id collection)
- :content_type "application/json+vnd.prose-mirror"
- :updated_at string?
- :created_at string?}
+ :content_type "application/json+vnd.prose-mirror"}
ser))
(is (not (contains? ser :archived)))
(is (not (contains? ser :archived_directly)))
@@ -2218,8 +2195,7 @@
(is (=? {:serdes/meta [{:model "TransformTag"
:id hourly-tag-eid}]
:name "hourly"
- :built_in_type "hourly"
- :created_at string?}
+ :built_in_type "hourly"}
ser))
(is (not (contains? ser :id)))
(is (empty? (serdes/deserialization-dependencies ser)))))
@@ -2227,8 +2203,7 @@
(let [ser (serdes/extract-one "TransformTag" {} (t2/hydrate (t2/select-one :model/TransformTag :id custom-tag-id) :tags))]
(is (=? {:serdes/meta [{:model "TransformTag"
:id custom-tag-eid}]
- :name "custom-etl"
- :created_at string?}
+ :name "custom-etl"}
ser))
(is (not (contains? ser :built_in_type)))
(is (not (contains? ser :id)))
@@ -2324,8 +2299,7 @@
(is (=? {:serdes/meta [{:model "Transform"
:id transform-eid}]
:name "Test Transform"
- :description "A test transform for serialization"
- :created_at string?}
+ :description "A test transform for serialization"}
ser))
(is (not (contains? ser :id))))
(testing "source and target MBQL export"
@@ -2496,8 +2470,7 @@
:name "Hourly job"
:description "Executes transforms tagged with 'hourly' every hour"
:schedule "0 0 * * * ? *"
- :built_in_type "hourly"
- :created_at string?}
+ :built_in_type "hourly"}
ser))
(is (not (contains? ser :id)))
(testing "job has associated tags"
@@ -2513,8 +2486,7 @@
:id custom-job-eid}]
:name "Custom ETL Job"
:description "Custom data processing job"
- :schedule "0 0 2 * * ? *"
- :created_at string?}
+ :schedule "0 0 2 * * ? *"}
ser))
(is (not (contains? ser :built_in_type)))
(is (not (contains? ser :id)))
@@ -2624,8 +2596,7 @@
:id lib-entity-id}]
:path "common.py"
:source "def helper():\n return 42"
- :entity_id lib-entity-id
- :created_at string?}
+ :entity_id lib-entity-id}
ser))
(is (not (contains? ser :id)))
(testing "has no dependencies"
@@ -2650,8 +2621,7 @@
:identifier "test-plugin"
:manifest {}
:bundle_hash "deadbeef"
- :bundle string?
- :created_at string?}
+ :bundle string?}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :status)))
@@ -2777,8 +2747,7 @@
:name "Email Channel"
:type :channel/email
:description "An email channel"
- :details {:host "smtp.example.com" :port 587}
- :created_at string?}
+ :details {:host "smtp.example.com" :port 587}}
ser))
(is (not (contains? ser :id)))
(is (not (contains? ser :active)))))
@@ -2790,8 +2759,7 @@
:description "An HTTP channel"
:details {:url "https://example.com/webhook"
:method "POST"
- :auth-method "none"}
- :created_at string?}
+ :auth-method "none"}}
ser))))
(testing "channel storage-path uses top-level channels directory"
(let [ser (ts/extract-one "Channel" email-id)]
@@ -2916,9 +2884,7 @@
:label "light"}]
:entity_id light-eid
:name "Light"
- :settings {}
- :created_at string?
- :updated_at string?}
+ :settings {}}
ser))
(is (not (contains? ser :id)))
(testing "embedding themes have no dependencies"
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/v2/load_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/v2/load_test.clj
index bcc717d7a4d..a549cec7c88 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/v2/load_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/v2/load_test.clj
@@ -1083,7 +1083,9 @@
:target [:dimension [:field (:id @field1s) {:source-field (:id @field2s)}]]}])))
(reset! serialized (into [] (serdes.extract/extract {})))
(let [card (-> @serialized (by-model "Card") first)
- dash (-> @serialized (by-model "Dashboard") first)]
+ dash (->> (by-model @serialized "Dashboard")
+ (filter #(= (:entity_id @dash1s) (:entity_id %)))
+ first)]
(testing "exported :parameter_mappings are properly converted"
(is (= [{:parameter_id "12345678"
:target [:dimension [:field ["my-db" nil "orders" "subtotal"]
@@ -1251,7 +1253,6 @@
[:collection_id [:= (:entity_id @coll1s)]]
[:name [:= "Some events"]]
[:creator_id [:= "[email protected]"]]
- [:created_at :string]
[:entity_id [:= (:entity_id timeline1)]]
[:description {:optional true} [:maybe :string]]
[:events [:sequential
@@ -1263,7 +1264,6 @@
[:archived {:optional true} :boolean]
[:description {:optional true} [:maybe :string]]
[:creator_id :string]
- [:created_at :string]
[:timestamp :string]
[:icon {:optional true} [:maybe :string]]]]]
[:icon {:optional true} [:maybe :string]]]
@@ -1474,8 +1474,8 @@
(testing "existing FieldValues are properly found and updated"
(is (= (set (:values @fv1s)) (set (:values @fv1d)))))
(testing "new FieldValues are properly added"
- (is (= (dissoc @fv2s :id :field_id :created_at :updated_at)
- (dissoc @fv2d :id :field_id :created_at :updated_at)))))))))
+ (is (= (dissoc @fv2s :id :field_id :created_at :updated_at :last_used_at)
+ (dissoc @fv2d :id :field_id :created_at :updated_at :last_used_at)))))))))
(deftest table-publishing-round-trip-test
;; Tests that is_published and collection_id survive a round-trip through serialization.
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/v2/models_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/v2/models_test.clj
index 2d78610b942..94674c45562 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/v2/models_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/v2/models_test.clj
@@ -8,6 +8,7 @@
[metabase.models.resolution :as models.resolution]
[metabase.models.serialization :as serdes]
[metabase.test :as mt]
+ [metabase.test.fixtures :as fixtures]
[metabase.util :as u]
[metabase.util.connection :as u.conn]
[toucan2.core :as t2]))
@@ -15,6 +16,13 @@
(comment
metabase-enterprise.impersonation.models/keep-me)
+(use-fixtures :once
+ (fixtures/initialize :db)
+ (fn [thunk]
+ (doseq [model (keys models.resolution/model->namespace)]
+ (t2/resolve-model model))
+ (thunk)))
+
(defn- parse-default-value
"Parse a default value string into a Clojure value.
Only cares about boolean defaults (TRUE/FALSE/'true'/'false'); returns nil for everything else."
@@ -38,6 +46,42 @@
(is (= (set known-models)
(set (map name (keys models.resolution/model->namespace)))))))))
+(deftest ^:parallel timestamps-are-skipped-test
+ (testing "No serialized model exports or loads created_at or updated_at, so an entity serializes the same way on every
+ instance"
+ (doseq [m (-> (methods serdes/make-spec) (dissoc :default) keys)
+ :let [{:keys [copy skip transform]} (serdes/make-spec m nil)]
+ column [:created_at :updated_at]]
+ (testing (format "%s.%s" m (name column))
+ (is (not (some #{column} copy)))
+ (is (not (some #{column} skip)) "always skipped, so leave it out of :skip")
+ (is (not (contains? transform column)))))))
+
+(defn- entity-id-collation
+ "The collation of `table`'s entity_id column in the schema the `schema-fn` SQL function names."
+ [table schema-fn]
+ (first (vals (t2/query-one {:select [:collation_name]
+ :from [:information_schema.columns]
+ :where [:and
+ [:= :table_schema [schema-fn]]
+ [:= :table_name table]
+ [:= :column_name "entity_id"]]}))))
+
+(deftest entity-id-binary-collation-test
+ (testing "entity_id columns compare byte by byte, so every app DB orders exported entities, and names same-named
+ files, the same way"
+ (when-let [[expected schema-fn] (case (mdb/db-type)
+ :postgres ["C" :current_schema]
+ :mysql ["utf8mb4_bin" :database]
+ nil)]
+ (doseq [model (keys models.resolution/model->namespace)
+ :when (isa? model :hook/entity-id)
+ :let [table (name (t2/table-name model))]]
+ (testing table
+ (is (= expected (entity-id-collation table schema-fn))
+ (str "Create the entity_id column with type ${entity_id.type}, and re-state that type in any "
+ "modifyDataType or addNotNullConstraint on it")))))))
+
(deftest serialization-complete-spec-test
(mt/with-empty-h2-app-db!
;; When serialization spec is defined, it describes every column
@@ -50,7 +94,7 @@
fields (u.conn/app-db-column-types (mdb/app-db) t)
spec' (-> (merge (zipmap (:copy spec) (repeat :copy))
(zipmap (:skip spec) (repeat :skip))
- (zipmap [:id :updated_at] (repeat :skip)) ; always skipped
+ (zipmap [:id :created_at :updated_at] (repeat :skip)) ; always skipped
(:transform spec))
;; `nil`s are mostly fields which differ on `opts`
(dissoc nil))]
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/v2/osi_ai_context_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/v2/osi_ai_context_test.clj
index 71f894c798c..785cc2559f5 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/v2/osi_ai_context_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/v2/osi_ai_context_test.clj
@@ -53,19 +53,23 @@
:model/OsiAiContext _ {:ai_context {:instructions "Use it directly." :synonyms [entity-type]}
:entity_type entity-type :entity_local_id card-id}]
(let [extracted (extract-for "card" card-id)]
- (testing "path nests the row under the Card; ai_context copies verbatim; no entity_id/key fields"
+ (testing "path nests the row under the Card; ai_context and entity_id copy verbatim"
(is (=? {:ai_context {:instructions "Use it directly." :synonyms [entity-type]}
+ :entity_id string?
:serdes/meta [{:model "Card" :id card-eid} {:model "OsiAiContext" :id "ai_context"}]}
- extracted))
- (is (not (contains? extracted :entity_id))))
+ extracted)))
(testing "depends on the referenced Card"
(is (= [[{:model "Card" :id card-eid}]] (serdes/deserialization-dependencies extracted))))
(testing "importing resolves the path back to the local card row"
(t2/delete! :model/OsiAiContext :entity_type "card" :entity_local_id card-id)
(serdes.load/load-metabase! (ingestion-in-memory [extracted]))
- (is (=? {:entity_type "card" :entity_local_id card-id}
+ (is (=? {:entity_type "card" :entity_local_id card-id :entity_id (:entity_id extracted)}
(t2/select-one :model/OsiAiContext :entity_type "card" :entity_local_id card-id))))))))))
+(deftest ^:parallel extract-order-columns-test
+ (testing "exported rows are ordered by entity_id, so same-named files get the same suffixes on every instance"
+ (is (= [:entity_id] (serdes/extract-order-columns "OsiAiContext" {})))))
+
(deftest measure-segment-entity-round-trip-test
(testing "measure and segment refs nest under the entity's path and import back"
(let [orders (mt/id :orders)
diff --git a/enterprise/backend/test/metabase_enterprise/serialization/v2/storage_test.clj b/enterprise/backend/test/metabase_enterprise/serialization/v2/storage_test.clj
index 9fd3c888a61..8c582042ebd 100644
--- a/enterprise/backend/test/metabase_enterprise/serialization/v2/storage_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/serialization/v2/storage_test.clj
@@ -42,22 +42,18 @@
(testing "the Collections properly exported"
(let [yaml-parent (-> (yaml/from-file (io/file dump-dir "collections" "main"
"some_collection.yaml"))
- (dissoc :serdes/meta)
- (update :created_at t/offset-date-time))
+ (dissoc :serdes/meta))
yaml-child (-> (yaml/from-file (io/file dump-dir "collections" "main"
"some_collection" "child_collection.yaml"))
- (dissoc :serdes/meta)
- (update :created_at t/offset-date-time))]
+ (dissoc :serdes/meta))]
(is (= (-> (into {} (t2/select-one :model/Collection :id (:id parent)))
(dissoc :id :location)
(assoc :parent_id nil)
- (update :created_at t/offset-date-time)
(select-keys (keys yaml-parent)))
yaml-parent))
(is (= (-> (into {} (t2/select-one :model/Collection :id (:id child)))
(dissoc :id :location)
(assoc :parent_id (:entity_id parent))
- (update :created_at t/offset-date-time)
(select-keys (keys yaml-child)))
yaml-child)))))))))
@@ -405,43 +401,17 @@
filenames))
(deftest same-name-stable-filename-test
- (testing "two same-named entities in a folder get deterministic filename de-dup suffixes (`foo.yaml` vs
- `foo_2.yaml`) across exports — otherwise re-exports swap which card lands in which file, producing huge
- phantom git-sync diffs (GHY-3754)"
- (testing "the older entity (earlier created_at) keeps the unsuffixed file, so adding a new same-named entity
- appends `_2` rather than displacing the existing file. created_at decides even when entity_id order and
- insertion order both disagree"
- (ts/with-random-dump-dir [dump-dir "serdesv2-"]
- (mt/with-empty-h2-app-db!
- ;; The OLD card has the *larger* entity_id and is inserted *second*, so created_at is the only thing that
- ;; can put it in the unsuffixed file — proving created_at takes precedence over entity_id and row order.
- (ts/with-temp-dpc [:model/Collection coll {:name "My Collection"}
- :model/Card _new {:name "Dup Name"
- :collection_id (:id coll)
- :created_at #t "2024-01-01T00:00:00Z"
- :entity_id "aaaaaaaaaaaaaaaaaaaaa"}
- :model/Card _old {:name "Dup Name"
- :collection_id (:id coll)
- :created_at #t "2020-01-01T00:00:00Z"
- :entity_id "zzzzzzzzzzzzzzzzzzzzz"}]
- (is (= ["zzzzzzzzzzzzzzzzzzzzz" "aaaaaaaaaaaaaaaaaaaaa"]
- (export-and-read-eids! dump-dir ["dup_name.yaml" "dup_name_2.yaml"]))
- "older card (earlier created_at) wins the unsuffixed file; newer card gets _2")))))
- (testing "entity_id breaks ties deterministically when created_at is identical"
- (ts/with-random-dump-dir [dump-dir "serdesv2-"]
- (mt/with-empty-h2-app-db!
- (ts/with-temp-dpc [:model/Collection coll {:name "My Collection"}
- :model/Card _zzz {:name "Dup Name"
- :collection_id (:id coll)
- :created_at #t "2024-01-01T00:00:00Z"
- :entity_id "zzzzzzzzzzzzzzzzzzzzz"}
- :model/Card _aaa {:name "Dup Name"
- :collection_id (:id coll)
- :created_at #t "2024-01-01T00:00:00Z"
- :entity_id "aaaaaaaaaaaaaaaaaaaaa"}]
- (is (= ["aaaaaaaaaaaaaaaaaaaaa" "zzzzzzzzzzzzzzzzzzzzz"]
- (export-and-read-eids! dump-dir ["dup_name.yaml" "dup_name_2.yaml"]))
- "with equal created_at, smaller entity_id wins the unsuffixed file")))))))
+ (testing "Same-named entities in a folder get their filename de-dup suffixes (`foo.yaml`, `foo_2.yaml`) by entity_id
+ compared byte by byte, whatever the insertion order"
+ (ts/with-random-dump-dir [dump-dir "serdesv2-"]
+ (mt/with-empty-h2-app-db!
+ (ts/with-temp-dpc [:model/Collection coll {:name "My Collection"}
+ :model/Card _ {:name "Dup Name" :collection_id (:id coll) :entity_id "aaaaaaaaaaaaaaaaaaaaa"}
+ :model/Card _ {:name "Dup Name" :collection_id (:id coll) :entity_id "_bbbbbbbbbbbbbbbbbbbb"}
+ :model/Card _ {:name "Dup Name" :collection_id (:id coll) :entity_id "Zzzzzzzzzzzzzzzzzzzzz"}
+ :model/Card _ {:name "Dup Name" :collection_id (:id coll) :entity_id "-cccccccccccccccccccc"}]
+ (is (= ["-cccccccccccccccccccc" "Zzzzzzzzzzzzzzzzzzzzz" "_bbbbbbbbbbbbbbbbbbbb" "aaaaaaaaaaaaaaaaaaaaa"]
+ (export-and-read-eids! dump-dir ["dup_name.yaml" "dup_name_2.yaml" "dup_name_3.yaml" "dup_name_4.yaml"]))))))))
(deftest ^:parallel resolve-path-test
(let [resolve-path @#'storage.util/resolve-path]
diff --git a/enterprise/backend/test/metabase_enterprise/stale/impl_test.clj b/enterprise/backend/test/metabase_enterprise/stale/impl_test.clj
index cc94cdefc4e..d63c167da47 100644
--- a/enterprise/backend/test/metabase_enterprise/stale/impl_test.clj
+++ b/enterprise/backend/test/metabase_enterprise/stale/impl_test.clj
@@ -88,10 +88,6 @@
(rows))))))))
(deftest never-viewed-documents-created-before-cutoff-are-stale
- ;; A serdes import restores the old `created_at` but :skip's `last_viewed_at`/`view_count`
- ;; (make-spec "Document", document.clj), so an imported never-viewed doc has an OLD created_at
- ;; yet a fresh `last_viewed_at` — only the `view_count = 0 AND created_at <= cutoff` arm catches
- ;; it; the `last_viewed_at <= cutoff` arm can't.
(mt/with-temp [:model/Document {never-viewed-id :id} {:name "Never viewed, created before cutoff"
:collection_id nil
:view_count 0
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/data/data.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/data/data.yaml
index 80e4c640c57..23c8ebc17dd 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/data/data.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/data/data.yaml
@@ -3,8 +3,5 @@ entity_id: LiBrArYdAtA000000001
slug: data
type: library-data
parent_id: LiBrArYrOoT000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: LiBrArYdAtA000000001
- label: data
- model: Collection
+- model: Collection
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/library.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/library.yaml
index bda7159a769..d6a6f9c75e7 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/library.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/library.yaml
@@ -2,8 +2,5 @@ name: Library
entity_id: LiBrArYrOoT000000001
slug: library
type: library
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: LiBrArYrOoT000000001
- label: library
- model: Collection
+- model: Collection
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_a.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_a.yaml
index 111182015e2..3bf6236fa89 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_a.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_a.yaml
@@ -4,8 +4,5 @@ type: metric
archived: false
collection_id: LiBrArYmEtRiCs000001
database_id: Sample Database
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: ReVeNuEcArDmEtRiC0a1
- label: revenue
- model: Card
+- model: Card
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_b.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_b.yaml
index 3a85f5755a3..4591c25aa82 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_b.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/cards/revenue_metric_b.yaml
@@ -4,8 +4,5 @@ type: metric
archived: false
collection_id: LiBrArYmEtRiCs000001
database_id: Sample Database
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: ReVeNuEcArDmEtRiC0b2
- label: revenue
- model: Card
+- model: Card
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/metrics.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/metrics.yaml
index 774fcd699ee..46992d91064 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/metrics.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/library/metrics/metrics.yaml
@@ -3,8 +3,5 @@ entity_id: LiBrArYmEtRiCs000001
slug: metrics
type: library-metrics
parent_id: LiBrArYrOoT000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: LiBrArYmEtRiCs000001
- label: metrics
- model: Collection
+- model: Collection
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/audit_metric.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/audit_metric.yaml
index 7741db7d9c3..867191ce314 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/audit_metric.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/audit_metric.yaml
@@ -4,8 +4,5 @@ type: metric
archived: false
collection_id: OuTsIdEcOlL000000001
database_id: Audit Database
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: AuDiTmEtRiCcArD00001
- label: audit_metric
- model: Card
+- model: Card
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/revenue_model.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/revenue_model.yaml
index 19783c40cec..840dde76db2 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/revenue_model.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/cards/revenue_model.yaml
@@ -4,8 +4,5 @@ type: model
archived: false
collection_id: OuTsIdEcOlL000000001
database_id: Sample Database
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: ReVeNuEcArDmOdEl0001
- label: revenue
- model: Card
+- model: Card
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/outside.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/outside.yaml
index cad885f4721..6b55a1c706f 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/outside.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/collections/outside/outside.yaml
@@ -1,8 +1,5 @@
name: Outside
entity_id: OuTsIdEcOlL000000001
slug: outside
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: OuTsIdEcOlL000000001
- label: outside
- model: Collection
+- model: Collection
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/audit_database.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/audit_database.yaml
index 20caeb8250b..bdd7d21d748 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/audit_database.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/audit_database.yaml
@@ -2,7 +2,5 @@ name: Audit Database
entity_id: aUdItDaTaBaSe0000001
engine: h2
is_audit: true
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Audit Database
- model: Database
+- model: Database
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/tables/query_log/query_log.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/tables/query_log/query_log.yaml
index 4639a3f909e..5027b40592d 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/tables/query_log/query_log.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/audit_database/tables/query_log/query_log.yaml
@@ -2,9 +2,5 @@ name: query_log
db_id: Audit Database
active: true
is_published: true
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Audit Database
- model: Database
-- id: query_log
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/sample_database.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/sample_database.yaml
index ea3eaae1ee0..1bcdabfb28a 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/sample_database.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/sample_database.yaml
@@ -1,7 +1,5 @@
name: Sample Database
entity_id: sAmPlEdAtAbAsE0000001
engine: h2
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
+- model: Database
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/clients/clients.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/clients/clients.yaml
index 56a4328c4d4..775392a64fb 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/clients/clients.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/clients/clients.yaml
@@ -4,11 +4,5 @@ schema: PUBLIC
active: true
is_published: true
collection_id: LiBrArYdAtA000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: clients
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/customers/customers.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/customers/customers.yaml
index 22165de8a8a..a3f8e273ed7 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/customers/customers.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/customers/customers.yaml
@@ -4,11 +4,5 @@ schema: PUBLIC
active: true
is_published: true
collection_id: LiBrArYdAtA000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: customers
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/event_log/event_log.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/event_log/event_log.yaml
index 718363c0931..d9df4344274 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/event_log/event_log.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/event_log/event_log.yaml
@@ -3,11 +3,5 @@ db_id: Sample Database
schema: PUBLIC
active: true
is_published: false
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: event_log
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/events.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/events.yaml
index ef97d7b4a54..0d950035ca4 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/events.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/events.yaml
@@ -3,11 +3,5 @@ db_id: Sample Database
schema: PUBLIC
active: true
is_published: false
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: events
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id.yaml
index 5823168f578..c208a27374b 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id.yaml
@@ -5,11 +5,4 @@ table_id:
- PUBLIC
- events
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: events
- model: Table
-- id: event_id
- model: Field
+- model: Field
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id___fieldvalues.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id___fieldvalues.yaml
index bbe709ed40a..42b74cefcba 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id___fieldvalues.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_id___fieldvalues.yaml
@@ -7,15 +7,5 @@ type: full
values:
- 'evt-1'
- 'evt-2'
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: events
- model: Table
-- id: event_id
- model: Field
-- id: full
- model: FieldValues
+- model: FieldValues
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_ts.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_ts.yaml
index f2623d28fd2..142c5f25fdf 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_ts.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/fields/event_ts.yaml
@@ -5,11 +5,4 @@ table_id:
- PUBLIC
- events
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: events
- model: Table
-- id: event_ts
- model: Field
+- model: Field
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/measures/revenue.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/measures/revenue.yaml
index 2ee1c9698c4..2f3314e7aa2 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/measures/revenue.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/events/measures/revenue.yaml
@@ -6,6 +6,4 @@ table_id:
- PUBLIC
- events
serdes/meta:
-- id: rEvEnUeEvEnTs000001
- label: revenue
- model: Measure
+- model: Measure
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/id.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/id.yaml
index ea3818574ab..ea5ae779afd 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/id.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/id.yaml
@@ -5,11 +5,4 @@ table_id:
- PUBLIC
- orders
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: orders
- model: Table
-- id: id
- model: Field
+- model: Field
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/total.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/total.yaml
index eb3b52d7504..d4b64ffc609 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/total.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/fields/total.yaml
@@ -5,11 +5,4 @@ table_id:
- PUBLIC
- orders
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: orders
- model: Table
-- id: total
- model: Field
+- model: Field
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/measures/revenue.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/measures/revenue.yaml
index 9094baddebb..36b8cf8995f 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/measures/revenue.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/measures/revenue.yaml
@@ -6,6 +6,4 @@ table_id:
- PUBLIC
- orders
serdes/meta:
-- id: rEvEnUeOrDeRs0000001
- label: revenue
- model: Measure
+- model: Measure
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/orders.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/orders.yaml
index 6dd47fa093f..61317039e18 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/orders.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/orders/orders.yaml
@@ -4,11 +4,5 @@ schema: PUBLIC
active: true
is_published: true
collection_id: LiBrArYdAtA000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: orders
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/fields/id.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/fields/id.yaml
index 8950590485c..58ac2ad70af 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/fields/id.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/fields/id.yaml
@@ -5,11 +5,4 @@ table_id:
- PUBLIC
- subscriptions
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: subscriptions
- model: Table
-- id: id
- model: Field
+- model: Field
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/measures/revenue.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/measures/revenue.yaml
index 00fc5173e23..4cb7d19f07e 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/measures/revenue.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/measures/revenue.yaml
@@ -6,6 +6,4 @@ table_id:
- PUBLIC
- subscriptions
serdes/meta:
-- id: rEvEnUeSuBs000000001
- label: revenue
- model: Measure
+- model: Measure
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/subscriptions.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/subscriptions.yaml
index 0673cfe09d7..0e0ff9f678f 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/subscriptions.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/schemas/PUBLIC/tables/subscriptions/subscriptions.yaml
@@ -4,11 +4,5 @@ schema: PUBLIC
active: true
is_published: true
collection_id: LiBrArYdAtA000000001
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: PUBLIC
- model: Schema
-- id: subscriptions
- model: Table
+- model: Table
diff --git a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/tables/widgets/widgets.yaml b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/tables/widgets/widgets.yaml
index 6b3c56c22ab..a3989dcdcec 100644
--- a/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/tables/widgets/widgets.yaml
+++ b/enterprise/backend/test_resources/data_complexity_score/representation_fixture/databases/sample_database/tables/widgets/widgets.yaml
@@ -2,9 +2,5 @@ name: widgets
db_id: Sample Database
active: true
is_published: false
-created_at: '2026-04-02T00:00:00Z'
serdes/meta:
-- id: Sample Database
- model: Database
-- id: widgets
- model: Table
+- model: Table
diff --git a/resources/liquibase.yaml b/resources/liquibase.yaml
index 34a908509e6..5b0927609a9 100644
--- a/resources/liquibase.yaml
+++ b/resources/liquibase.yaml
@@ -42,6 +42,19 @@ databaseChangeLog:
name: boolean.type
value: bit(1)
dbms: mysql,mariadb
+ # entity_id columns compare byte by byte, so every app DB orders serialized entities alike
+ - property:
+ name: entity_id.type
+ value: char(21) COLLATE "C"
+ dbms: postgresql
+ - property:
+ name: entity_id.type
+ value: char(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin
+ dbms: mysql,mariadb
+ - property:
+ name: entity_id.type
+ value: char(21)
+ dbms: h2
- objectQuotingStrategy: QUOTE_ALL_OBJECTS
diff --git a/resources/migrations/065/20261016_entity_id_binary_collation.yaml b/resources/migrations/065/20261016_entity_id_binary_collation.yaml
new file mode 100644
index 00000000000..d0c3b76c10d
--- /dev/null
+++ b/resources/migrations/065/20261016_entity_id_binary_collation.yaml
@@ -0,0 +1,656 @@
+## Serialization orders the entities it exports by entity_id, which decides the de-dup suffix of same-named files
+## (`foo.yaml`, `foo_2.yaml`). The entity_id columns used the app DB's default collation, which sorts mixed-case and
+## punctuated NanoIDs differently on Postgres (per locale) and MySQL/MariaDB (case-insensitive) than on H2, so instances
+## syncing one repo named those files differently. Byte-wise collations make every app DB sort them alike.
+##
+## One changeset per table: each runs in its own transaction, so it locks one table at a time. The change locks its
+## table until it commits (Postgres blocks reads and writes while it rebuilds the column's indexes; MySQL and MariaDB
+## block writes while they copy the whole table). A single changeset over every table would hold those locks on all
+## of them at once, blocking the nodes still serving on the old version during a rolling upgrade.
+
+databaseChangeLog:
+ - changeSet:
+ id: v65.2026-10-16T12:00:00
+ author: ranquild
+ comment: Compare action.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE action ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE action MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE action ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE action MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:01
+ author: ranquild
+ comment: Compare report_card.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_card ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_card MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_card ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_card MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:02
+ author: ranquild
+ comment: Compare collection.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE collection ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE collection MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE collection ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE collection MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:03
+ author: ranquild
+ comment: Compare report_dashboard.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_dashboard ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_dashboard MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_dashboard ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_dashboard MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:04
+ author: ranquild
+ comment: Compare report_dashboardcard.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_dashboardcard ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_dashboardcard MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE report_dashboardcard ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE report_dashboardcard MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:05
+ author: ranquild
+ comment: Compare dashboard_tab.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE dashboard_tab ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE dashboard_tab MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE dashboard_tab ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE dashboard_tab MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:06
+ author: ranquild
+ comment: Compare data_app.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE data_app ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE data_app MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE data_app ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE data_app MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:07
+ author: ranquild
+ comment: Compare dimension.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE dimension ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE dimension MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE dimension ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE dimension MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:08
+ author: ranquild
+ comment: Compare document.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE document ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE document MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE document ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE document MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:09
+ author: ranquild
+ comment: Compare embedding_theme.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE embedding_theme ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE embedding_theme MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE embedding_theme ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE embedding_theme MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:10
+ author: ranquild
+ comment: Compare exploration.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:11
+ author: ranquild
+ comment: Compare exploration_page.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_page ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_page MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_page ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_page MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:12
+ author: ranquild
+ comment: Compare exploration_query.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_query ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_query MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_query ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_query MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:13
+ author: ranquild
+ comment: Compare exploration_thread.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_thread ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_thread MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE exploration_thread ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE exploration_thread MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:14
+ author: ranquild
+ comment: Compare glossary.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE glossary ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE glossary MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE glossary ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE glossary MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:15
+ author: ranquild
+ comment: Compare measure.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE measure ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE measure MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE measure ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE measure MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:16
+ author: ranquild
+ comment: Compare metabot.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE metabot ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE metabot MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE metabot ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE metabot MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:17
+ author: ranquild
+ comment: Compare metabot_prompt.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE metabot_prompt ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE metabot_prompt MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE metabot_prompt ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE metabot_prompt MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:18
+ author: ranquild
+ comment: Compare native_query_snippet.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE native_query_snippet ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE native_query_snippet MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE native_query_snippet ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE native_query_snippet MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:19
+ author: ranquild
+ comment: Compare permissions_group.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE permissions_group ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE permissions_group MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE permissions_group ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE permissions_group MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:20
+ author: ranquild
+ comment: Compare pulse.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:21
+ author: ranquild
+ comment: Compare pulse_card.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse_card ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse_card MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse_card ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse_card MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:22
+ author: ranquild
+ comment: Compare pulse_channel.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse_channel ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse_channel MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE pulse_channel ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE pulse_channel MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:23
+ author: ranquild
+ comment: Compare python_library.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE python_library ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE python_library MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE python_library ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE python_library MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:24
+ author: ranquild
+ comment: Compare segment.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE segment ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE segment MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE segment ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE segment MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:25
+ author: ranquild
+ comment: Compare timeline.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE timeline ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE timeline MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE timeline ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE timeline MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:26
+ author: ranquild
+ comment: Compare timeline_event.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE timeline_event ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE timeline_event MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE timeline_event ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE timeline_event MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:27
+ author: ranquild
+ comment: Compare transform.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:28
+ author: ranquild
+ comment: Compare transform_job.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_job ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_job MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_job ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_job MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:29
+ author: ranquild
+ comment: Compare transform_job_transform_tag.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_job_transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_job_transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_job_transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_job_transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:30
+ author: ranquild
+ comment: Compare transform_tag.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:31
+ author: ranquild
+ comment: Compare transform_test.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_test ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_test MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_test ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_test MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:32
+ author: ranquild
+ comment: Compare transform_transform_tag.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE transform_transform_tag ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE transform_transform_tag MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
+
+ - changeSet:
+ id: v65.2026-10-16T12:00:33
+ author: ranquild
+ comment: Compare core_user.entity_id byte by byte on Postgres, MySQL, and MariaDB
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE core_user ALTER COLUMN entity_id TYPE char(21) COLLATE "C";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE core_user MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;
+ rollback:
+ - sql:
+ dbms: postgresql
+ sql: ALTER TABLE core_user ALTER COLUMN entity_id TYPE char(21) COLLATE "default";
+ - sql:
+ dbms: mysql,mariadb
+ sql: ALTER TABLE core_user MODIFY entity_id CHAR(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
diff --git a/resources/migrations/065/20261019_osi_ai_context_entity_id.yaml b/resources/migrations/065/20261019_osi_ai_context_entity_id.yaml
new file mode 100644
index 00000000000..0beb8f4705a
--- /dev/null
+++ b/resources/migrations/065/20261019_osi_ai_context_entity_id.yaml
@@ -0,0 +1,65 @@
+## OSI ai_context rows get an entity_id, like every other serialized model, so serialization orders them, and names
+## their files, the same way on every instance. Their serdes identity stays the entity they describe. Backfill mirrors
+## 064/20260911_glossary_entity_id: all three dialect variants in one changeset so every database records it, then
+## NOT NULL and UNIQUE. `${entity_id.type}` gives the column the byte-wise collation of
+## 20261016_entity_id_binary_collation, and the NOT NULL change re-states it.
+
+databaseChangeLog:
+ - changeSet:
+ id: v65.2026-10-19T00:00:00
+ author: ranquild
+ comment: Add entity_id column to osi_ai_context table
+ changes:
+ - addColumn:
+ tableName: osi_ai_context
+ columns:
+ - column:
+ name: entity_id
+ type: ${entity_id.type}
+ remarks: Random NanoID tag for unique identity.
+ constraints:
+ nullable: true
+ rollback:
+ - dropColumn:
+ tableName: osi_ai_context
+ columnName: entity_id
+
+ - changeSet:
+ id: v65.2026-10-19T00:00:01
+ author: ranquild
+ comment: Backfill NULL osi_ai_context.entity_id values
+ changes:
+ - sql:
+ dbms: postgresql
+ sql: UPDATE osi_ai_context SET entity_id = substr(replace(gen_random_uuid()::text, '-', ''), 1, 21) WHERE entity_id IS NULL;
+ - sql:
+ dbms: mysql,mariadb
+ sql: UPDATE osi_ai_context SET entity_id = substr(replace(uuid(), '-', ''), 1, 21) WHERE entity_id IS NULL;
+ - sql:
+ dbms: h2
+ sql: UPDATE osi_ai_context SET entity_id = substr(replace(cast(random_uuid() as varchar), '-', ''), 1, 21) WHERE entity_id IS NULL;
+ rollback: []
+
+ - changeSet:
+ id: v65.2026-10-19T00:00:02
+ author: ranquild
+ comment: entity_id is NOT NULL on osi_ai_context
+ changes:
+ - addNotNullConstraint:
+ tableName: osi_ai_context
+ columnName: entity_id
+ columnDataType: ${entity_id.type}
+
+ - changeSet:
+ id: v65.2026-10-19T00:00:03
+ author: ranquild
+ comment: entity_id is unique on osi_ai_context
+ changes:
+ - addUniqueConstraint:
+ tableName: osi_ai_context
+ columnNames: entity_id
+ constraintName: uq_osi_ai_context_entity_id
+ rollback:
+ - dropUniqueConstraint:
+ tableName: osi_ai_context
+ constraintName: uq_osi_ai_context_entity_id
diff --git a/src/metabase/actions/models.clj b/src/metabase/actions/models.clj
index c771ca0f651..96fca1ccaa1 100644
--- a/src/metabase/actions/models.clj
+++ b/src/metabase/actions/models.clj
@@ -638,14 +638,13 @@
{:copy [:archived :archived_directly :description :entity_id :name :public_uuid]
:skip [;; always re-derived from public_uuid on import
:public_uuid_prefix]
- :transform {:created_at (serdes/date)
- :type (serdes/kw)
+ :transform {:type (serdes/kw)
:creator_id (serdes/fk :model/User)
:made_public_by_id (serdes/fk :model/User)
:collection_id (serdes/fk :model/Collection)
:model_id (serdes/fk :model/Card)
- :query (serdes/nested :model/QueryAction :action_id (merge {:sort-by (juxt :name :created_at)} opts))
- :implicit (serdes/nested :model/ImplicitAction :action_id (merge {:sort-by (juxt :name :created_at)} opts))
+ :query (serdes/nested :model/QueryAction :action_id (merge {:sort-by :name} opts))
+ :implicit (serdes/nested :model/ImplicitAction :action_id (merge {:sort-by :name} opts))
:parameters {:export serdes/export-parameters :import serdes/import-parameters}
:parameter_mappings {:export serdes/export-parameter-mappings
:import serdes/import-parameter-mappings}
diff --git a/src/metabase/channel/models/channel.clj b/src/metabase/channel/models/channel.clj
index 3341321ecd5..6be73196e91 100644
--- a/src/metabase/channel/models/channel.clj
+++ b/src/metabase/channel/models/channel.clj
@@ -110,7 +110,6 @@
(defmethod serdes/make-spec "Channel"
[_model-name _opts]
{:copy [:name :description :type :details :active]
- :transform {:created_at (serdes/date)}
:defaults {:active true}})
;; ------------------------------------------------------------------------------------------------;;
diff --git a/src/metabase/collections/models/collection.clj b/src/metabase/collections/models/collection.clj
index 6f4299bbe9d..d166c5ca3b1 100644
--- a/src/metabase/collections/models/collection.clj
+++ b/src/metabase/collections/models/collection.clj
@@ -2289,8 +2289,7 @@
:slug
:type]
:skip []
- :transform {:created_at (serdes/date)
- ;; We only dump the parent id, and recalculate the location from that on load.
+ :transform {;; We only dump the parent id, and recalculate the location from that on load.
:location (serdes/as :parent_id
(serdes/compose
(serdes/fk :model/Collection)
diff --git a/src/metabase/dashboards/models/dashboard.clj b/src/metabase/dashboards/models/dashboard.clj
index 1f81ab70485..4dd948181a3 100644
--- a/src/metabase/dashboards/models/dashboard.clj
+++ b/src/metabase/dashboards/models/dashboard.clj
@@ -86,7 +86,8 @@
(t2/define-before-insert :model/Dashboard
[dashboard]
(let [defaults {:parameters []}
- dashboard (lib/normalize ::dashboards.schema/dashboard (merge defaults dashboard))]
+ dashboard (-> (lib/normalize ::dashboards.schema/dashboard (merge defaults dashboard))
+ maybe-populate-initially-published-at)]
(u/prog1 (public-sharing/add-public-uuid-prefix dashboard)
(collection/check-allowed-content :model/Dashboard (:collection_id dashboard))
(params/assert-valid-parameters dashboard)
@@ -407,19 +408,18 @@
{:copy [:archived :archived_directly :auto_apply_filters :caveats :collection_position
:description :embedding_params :enable_embedding :embedding_type :entity_id :name
:points_of_interest :position :public_uuid :show_in_getting_started :width]
- :skip [;; those stats are inherently local state
+ :skip [:initially_published_at
+ ;; those stats are inherently local state
:view_count :last_viewed_at
;; this is deprecated
:cache_ttl
;; always re-derived from public_uuid on import
:public_uuid_prefix]
- :transform {:created_at (serdes/date)
- :initially_published_at (serdes/date)
- :collection_id (serdes/fk :model/Collection)
+ :transform {:collection_id (serdes/fk :model/Collection)
:creator_id (serdes/fk :model/User)
:made_public_by_id (serdes/fk :model/User)
:parameters {:export serdes/export-parameters :import serdes/import-parameters}
- :tabs (serdes/nested :model/DashboardTab :dashboard_id (merge {:sort-by (juxt :position :created_at)} opts))
+ :tabs (serdes/nested :model/DashboardTab :dashboard_id (merge {:sort-by (juxt :position :entity_id)} opts))
:dashcards (serdes/nested :model/DashboardCard :dashboard_id (merge {:sort-by (juxt :dashboard_tab_id :row :col)} opts))}
:coerce {:parameters [:maybe [:sequential ::parameters.schema/parameter]]}
:defaults {:archived false
diff --git a/src/metabase/dashboards/models/dashboard_card.clj b/src/metabase/dashboards/models/dashboard_card.clj
index 582b0cab5c8..46eaf032df4 100644
--- a/src/metabase/dashboards/models/dashboard_card.clj
+++ b/src/metabase/dashboards/models/dashboard_card.clj
@@ -355,8 +355,7 @@
(defmethod serdes/make-spec "DashboardCard" [_model-name opts]
{:copy [:col :entity_id :inline_parameters :row :size_x :size_y]
:skip []
- :transform {:created_at (serdes/date)
- :dashboard_id (serdes/parent-ref)
+ :transform {:dashboard_id (serdes/parent-ref)
:card_id (serdes/fk :model/Card)
:action_id (serdes/fk :model/Action)
:dashboard_tab_id (serdes/fk :model/DashboardTab)
diff --git a/src/metabase/dashboards/models/dashboard_tab.clj b/src/metabase/dashboards/models/dashboard_tab.clj
index 424f5f5bdee..c8ab854e6cd 100644
--- a/src/metabase/dashboards/models/dashboard_tab.clj
+++ b/src/metabase/dashboards/models/dashboard_tab.clj
@@ -58,8 +58,7 @@
(defmethod serdes/make-spec "DashboardTab" [_model-name _opts]
{:copy [:entity_id :name :position]
:skip []
- :transform {:created_at (serdes/date)
- :dashboard_id (serdes/parent-ref)}})
+ :transform {:dashboard_id (serdes/parent-ref)}})
;;; -------------------------------------------------- CRUD fns ------------------------------------------------------
diff --git a/src/metabase/documents/models/document.clj b/src/metabase/documents/models/document.clj
index d0e92040fce..b54e98662d8 100644
--- a/src/metabase/documents/models/document.clj
+++ b/src/metabase/documents/models/document.clj
@@ -666,9 +666,7 @@
[_model-name _opts]
{:copy [:archived :archived_directly :content_type :entity_id :name :collection_position]
:skip [:view_count :last_viewed_at :public_uuid :public_uuid_prefix :made_public_by_id :exploration_id :is_placeholder]
- :transform {:created_at (serdes/date)
- :updated_at (serdes/date)
- :document {:export-with-context export-document-content
+ :transform {:document {:export-with-context export-document-content
:import-with-context import-document-content}
:collection_id (serdes/fk :model/Collection)
:creator_id (serdes/fk :model/User)}
diff --git a/src/metabase/embedding/models/theme.clj b/src/metabase/embedding/models/theme.clj
index 7ae6e14926c..c4c552264fd 100644
--- a/src/metabase/embedding/models/theme.clj
+++ b/src/metabase/embedding/models/theme.clj
@@ -27,9 +27,7 @@
[_model-name _opts]
{:copy [:entity_id :name :settings]
;; is_default means the theme is a default theme for this instance.
- :skip [:is_default]
- :transform {:created_at (serdes/date)
- :updated_at (serdes/date)}})
+ :skip [:is_default]})
(defmethod serdes/storage-path "EmbeddingTheme"
[entity _ctx]
diff --git a/src/metabase/glossary/models/glossary.clj b/src/metabase/glossary/models/glossary.clj
index 0a31c583811..52bff37e81a 100644
--- a/src/metabase/glossary/models/glossary.clj
+++ b/src/metabase/glossary/models/glossary.clj
@@ -56,8 +56,7 @@
(defmethod serdes/make-spec "Glossary" [_model-name _opts]
{:copy [:entity_id :term :definition]
- :transform {:created_at (serdes/date)
- :creator_id (serdes/fk :model/User)}})
+ :transform {:creator_id (serdes/fk :model/User)}})
(defmethod serdes/storage-path "Glossary" [item _]
[{:label "glossary"} {:label (:term item) :key (:entity_id item)}])
diff --git a/src/metabase/indexes/models/table_index.clj b/src/metabase/indexes/models/table_index.clj
index 7ec1eead1f0..6c42eddd982 100644
--- a/src/metabase/indexes/models/table_index.clj
+++ b/src/metabase/indexes/models/table_index.clj
@@ -148,5 +148,4 @@
[_model-name _opts]
{:copy [:index_name :structured]
:skip [:status :error_message :last_executed_at :created_by]
- :transform {:transform_id (serdes/parent-ref)
- :created_at (serdes/date)}})
+ :transform {:transform_id (serdes/parent-ref)}})
diff --git a/src/metabase/measures/models/measure.clj b/src/metabase/measures/models/measure.clj
index 6e7153ee9b5..b9c09786c6e 100644
--- a/src/metabase/measures/models/measure.clj
+++ b/src/metabase/measures/models/measure.clj
@@ -235,8 +235,7 @@
:dimensions :dimension_mappings
;; always re-derived from definition by before-insert via lib/primary-source-table-id
:table_id]
- :transform {:created_at (serdes/date)
- :creator_id (serdes/fk :model/User)
+ :transform {:creator_id (serdes/fk :model/User)
:definition {:export serdes/export-mbql :import import-measure-definition}}
:defaults {:archived false}})
diff --git a/src/metabase/metabot/models/metabot.clj b/src/metabase/metabot/models/metabot.clj
index 10f2a077808..a4161cc3b05 100644
--- a/src/metabase/metabot/models/metabot.clj
+++ b/src/metabase/metabot/models/metabot.clj
@@ -52,8 +52,6 @@
(defmethod serdes/make-spec "Metabot" [_model-name opts]
{:copy [:name :description :entity_id :use_verified_content]
- :transform {:created_at (serdes/date)
- :updated_at (serdes/date)
- :collection_id (serdes/fk :model/Collection)
- :prompts (serdes/nested :model/MetabotPrompt :metabot_id (merge {:sort-by (juxt :prompt :created_at)} opts))}
+ :transform {:collection_id (serdes/fk :model/Collection)
+ :prompts (serdes/nested :model/MetabotPrompt :metabot_id (merge {:sort-by (juxt :prompt :entity_id)} opts))}
:defaults {:use_verified_content false}})
diff --git a/src/metabase/metabot/models/metabot_prompt.clj b/src/metabase/metabot/models/metabot_prompt.clj
index af69d0f8535..d606b1e01d9 100644
--- a/src/metabase/metabot/models/metabot_prompt.clj
+++ b/src/metabase/metabot/models/metabot_prompt.clj
@@ -31,8 +31,6 @@
(defmethod serdes/make-spec "MetabotPrompt" [_model-name _opts]
{:copy [:entity_id :prompt]
- :transform {:created_at (serdes/date)
- :updated_at (serdes/date)
- :model (serdes/kw)
+ :transform {:model (serdes/kw)
:card_id (serdes/fk :model/Card)
:metabot_id (serdes/parent-ref)}})
diff --git a/src/metabase/models/serialization.clj b/src/metabase/models/serialization.clj
index ea852ffd30c..8694541a4da 100644
--- a/src/metabase/models/serialization.clj
+++ b/src/metabase/models/serialization.clj
@@ -280,8 +280,8 @@
"Return specification for serialization, should be a map of:
- `:copy`: a vector of field names, to directly copy from db into output and ingest back with no changes.
- - `:skip`: a vector of field names, used it tests to check if all fields were specified (`:id` and `:updated_at`
- are always skipped, no need to mention them).
+ - `:skip`: a vector of field names, used in tests to check if all fields were specified (`:id`, `:created_at` and
+ `:updated_at` are always skipped, no need to mention them).
- `:transform`: is a map like `{:field-name {:export (fn [v] ...) :import (fn [v] ...)}}`. For behavior see docs
on `extract-one` and `xform-one`. There are a number of transformers, see this field for `fk` and similar.
- `:coerce`: a map like `{:field-name Schema}`; incoming data will be coerced to schema after `:import`/`:copy`.
@@ -442,33 +442,23 @@
reducible))
(def stable-storage-order
- "A deterministic `:order-by` for serdes export queries, so that entities sharing a name within a folder get
- reproducible filename de-dup suffixes (`foo.yaml` vs `foo_2.yaml`) across exports — otherwise re-exports swap which
- entity lands in which file and produce large phantom git-sync diffs (GHY-3754).
-
- Orders by `created_at` first so the *oldest* sibling keeps the unsuffixed file: adding a new same-named entity
- appends a `_2` rather than displacing the existing file. `entity_id` (random NanoID) would not have this property —
- a newcomer with a smaller id would steal the base file. `entity_id` is then a deterministic tiebreaker for entities
- created in the same instant. Assumes the model serializes both columns; use [[stable-storage-order-by]] to gate on a
- spec."
- [[:created_at :asc] [:entity_id :asc]])
-
-(defn stable-storage-order-by
- "[[stable-storage-order]] restricted to the columns `spec` actually serializes (via `:copy` or `:transform`).
- Returns nil when the model serializes neither column."
- [spec]
- (let [serialized? (into (set (:copy spec)) (keys (:transform spec)))]
- (not-empty (filterv (comp serialized? first) stable-storage-order))))
+ "A deterministic `:order-by` for serdes export queries, so that entities sharing a name within a folder get the same
+ filename de-dup suffixes (`foo.yaml` vs `foo_2.yaml`) on every export and on every instance, by `entity_id` alone
+ since `created_at` is local to each instance; the `entity_id` columns compare byte by byte on every app DB."
+ [[:entity_id :asc]])
(defn extract-order-columns
- "The ascending order columns for `model-name`'s extract query: [[stable-storage-order]] restricted to the columns the
- model's spec actually serializes.
+ "The ascending order columns for `model-name`'s extract query: [[stable-storage-order]] when the model's spec
+ serializes `entity_id`, else its primary key.
Empty for a nested fetch (e.g. a Dashboard's DashboardCards): those are embedded as lists inside the parent's file
rather than written to their own files, so they keep their natural order and are left untouched."
[model-name opts]
(when-not (::nested-fetch opts)
- (mapv first (stable-storage-order-by (*make-spec* model-name opts)))))
+ (let [spec (*make-spec* model-name opts)]
+ (if (some #{:entity_id} (concat (:copy spec) (keys (:transform spec))))
+ (mapv first stable-storage-order)
+ [(primary-key model-name)]))))
(defn extract-query-collections
"Helper for the common (but not default) [[extract-query]] case of fetching everything that isn't in a personal
@@ -1960,7 +1950,7 @@
"Nested entities; `opts` may give `:sort-by`, `:key-field` and `:delete-children!`, a fn of the parent id."
[model backward-fk opts]
(let [model-name (name model)
- sorter (:sort-by opts :created_at)
+ sorter (:sort-by opts :entity_id)
key-field (:key-field opts :entity_id)
delete-children! (:delete-children! opts #(models.db/delete-children! model backward-fk %))]
{::nested true
diff --git a/src/metabase/native_query_snippets/models/native_query_snippet.clj b/src/metabase/native_query_snippets/models/native_query_snippet.clj
index 1d2e2255051..cc47812f964 100644
--- a/src/metabase/native_query_snippets/models/native_query_snippet.clj
+++ b/src/metabase/native_query_snippets/models/native_query_snippet.clj
@@ -200,8 +200,7 @@
(defmethod serdes/make-spec "NativeQuerySnippet" [_model-name _opts]
{:copy [:archived :description :entity_id :name]
:skip []
- :transform {:created_at (serdes/date)
- :collection_id (serdes/fk :model/Collection)
+ :transform {:collection_id (serdes/fk :model/Collection)
:creator_id (serdes/fk :model/User)
:content {:export identity
:import-with-context
diff --git a/src/metabase/osi/models/osi_ai_context.clj b/src/metabase/osi/models/osi_ai_context.clj
index 9a52845853b..8d1c22e12aa 100644
--- a/src/metabase/osi/models/osi_ai_context.clj
+++ b/src/metabase/osi/models/osi_ai_context.clj
@@ -3,7 +3,7 @@
(`{instructions, synonyms[], examples[]}`) for the entity identified by `entity_type`/`entity_local_id`.
Identity is the logical `(entity_type, entity_local_id)` pair — that compound key is the primary key, so
- there is one row per entity and no surrogate id or serialization NanoID.
+ there is one row per entity and no surrogate id. The `entity_id` NanoID only orders exported rows.
This table is authoritative.
An enterprise pgvector index (`library_entity_index`) is reconciled against this table plus live
@@ -28,6 +28,7 @@
(doto :model/OsiAiContext
(derive :metabase/model)
+ (derive :hook/entity-id)
(derive :hook/timestamped?))
;; The logical (entity_type, entity_local_id) pair is the primary key — no surrogate id.
@@ -78,7 +79,7 @@
;;; ------------------------------------------------- Serialization -------------------------------------------------
;;;
-;;; A row's identity is its entity ref: `entity_type` plus the entity it describes. Rather than a separate
+;;; A row's identity is its entity ref: `entity_type` plus the entity it describes. Rather than its `entity_id`
;;; NanoID, serdes nests the row under its entity's portable path (mirroring
;;; [[metabase.warehouse-schema.models.field-user-settings]], which hangs off its Field): the path is the
;;; entity's path plus a constant `OsiAiContext` segment. So both key columns are carried by the path —
@@ -156,10 +157,8 @@
;; `ai_context` is a plain text blob (no FKs — instructions/synonyms/examples are free text), so it copies
;; verbatim. The key columns are exported so [[serdes/ingested-path]] can rebuild the path, and imported from that path.
(defmethod serdes/make-spec "OsiAiContext" [_model-name _opts]
- {:copy [:ai_context]
- :transform {:created_at (serdes/date)
- :updated_at (serdes/date)
- :entity_type {:export identity
+ {:copy [:ai_context :entity_id]
+ :transform {:entity_type {:export identity
:import-with-context
(fn [current _ _] (:entity_type (parent-path->entity (pop (serdes/path current)))))}
:entity_local_id {::serdes/fk true
diff --git a/src/metabase/osi/schema.clj b/src/metabase/osi/schema.clj
index 3318396af6a..a3e60d05891 100644
--- a/src/metabase/osi/schema.clj
+++ b/src/metabase/osi/schema.clj
@@ -32,6 +32,7 @@
[:map {:closed true}
[:entity_type {:optional true} [:maybe [:or :keyword :string]]]
[:entity_local_id {:optional true} [:maybe ms/PositiveInt]]
+ [:entity_id {:optional true} [:maybe :string]]
[:ai_context {:optional true} [:maybe ::osi-ai-context.ai-context]]
[:created_at {:optional true} [:maybe ms/TemporalInstant]]
[:updated_at {:optional true} [:maybe ms/TemporalInstant]]])
diff --git a/src/metabase/queries/models/card.clj b/src/metabase/queries/models/card.clj
index 882265f5fb2..2ee048f1ea7 100644
--- a/src/metabase/queries/models/card.clj
+++ b/src/metabase/queries/models/card.clj
@@ -1037,6 +1037,7 @@
card.metadata/populate-result-metadata
pre-insert
populate-query-fields
+ maybe-populate-initially-published-at
public-sharing/add-public-uuid-prefix)
(collection/check-allowed-content (library-content-type <> mi/*deserializing?*) (:collection_id <>))
(check-data-app-card <>)))
@@ -1702,8 +1703,7 @@
;; always re-derived from public_uuid on import
:public_uuid_prefix]
:transform
- {:created_at (serdes/date)
- ;; database_id is usually derivable from dataset_query, but must be kept when the query
+ {;; database_id is usually derivable from dataset_query, but must be kept when the query
;; is empty (e.g. a native card with no query yet) and database_id is the only reference.
:database_id (let [{:keys [import]} (serdes/fk :model/Database)]
{::serdes/fk true
diff --git a/src/metabase/segments/models/segment.clj b/src/metabase/segments/models/segment.clj
index d141cec702f..29d2b86338d 100644
--- a/src/metabase/segments/models/segment.clj
+++ b/src/metabase/segments/models/segment.clj
@@ -251,8 +251,7 @@
{:copy [:name :points_of_interest :archived :caveats :description :entity_id :show_in_getting_started]
:skip [;; always re-derived from definition by before-insert via lib/primary-source-table-id
:table_id]
- :transform {:created_at (serdes/date)
- :creator_id (serdes/fk :model/User)
+ :transform {:creator_id (serdes/fk :model/User)
:definition {:export serdes/export-mbql :import serdes/import-mbql}}
:defaults {:archived false :show_in_getting_started false}})
diff --git a/src/metabase/timeline/models/timeline.clj b/src/metabase/timeline/models/timeline.clj
index d8622db80d2..17a371017f4 100644
--- a/src/metabase/timeline/models/timeline.clj
+++ b/src/metabase/timeline/models/timeline.clj
@@ -58,8 +58,7 @@
(defmethod serdes/make-spec "Timeline" [_model-name opts]
{:copy [:archived :default :description :entity_id :icon :name]
:skip []
- :transform {:created_at (serdes/date)
- :collection_id (serdes/fk :model/Collection)
+ :transform {:collection_id (serdes/fk :model/Collection)
:creator_id (serdes/fk :model/User)
- :events (serdes/nested :model/TimelineEvent :timeline_id (merge {:sort-by (juxt :name :created_at)} opts))}
+ :events (serdes/nested :model/TimelineEvent :timeline_id (merge {:sort-by (juxt :name :entity_id)} opts))}
:defaults {:archived false :default false}})
diff --git a/src/metabase/timeline/models/timeline_event.clj b/src/metabase/timeline/models/timeline_event.clj
index 03a52c95127..7352f9a1bc1 100644
--- a/src/metabase/timeline/models/timeline_event.clj
+++ b/src/metabase/timeline/models/timeline_event.clj
@@ -108,8 +108,7 @@
(defmethod serdes/make-spec "TimelineEvent" [_model-name _opts]
{:copy [:archived :description :entity_id :icon :name :time_matters :timezone]
:skip []
- :transform {:created_at (serdes/date)
- :creator_id (serdes/fk :model/User)
+ :transform {:creator_id (serdes/fk :model/User)
:timeline_id (serdes/parent-ref)
:timestamp (serdes/date)}
:defaults {:archived false}})
diff --git a/src/metabase/transforms/models/transform.clj b/src/metabase/transforms/models/transform.clj
index 31f9ff7f845..68db91dd0f1 100644
--- a/src/metabase/transforms/models/transform.clj
+++ b/src/metabase/transforms/models/transform.clj
@@ -476,8 +476,7 @@
[_model-name opts]
{:copy [:name :description :entity_id :owner_email]
:skip [:source_type :target_db_id :target_table_id :last_checkpoint_value :table_dependencies]
- :transform {:created_at (serdes/date)
- :creator_id (serdes/fk :model/User)
+ :transform {:creator_id (serdes/fk :model/User)
:owner_user_id (serdes/fk :model/User)
:collection_id (serdes/fk :model/Collection)
:source_database_id (serdes/fk :model/Database)
@@ -524,7 +523,7 @@
(update-checkpoint-field import-maybe-int-field-fk))))}
:target {:export #(serdes/export-mbql (dissoc % :table_id))
:import serdes/import-mbql}
- :tags (serdes/nested :model/TransformTransformTag :transform_id (merge {:sort-by (juxt :position :created_at)} opts))
+ :tags (serdes/nested :model/TransformTransformTag :transform_id (merge {:sort-by (juxt :position :entity_id)} opts))
:indexes (serdes/nested :model/TableIndex :transform_id (merge {:sort-by :index_name} opts))}})
(defmethod serdes/deserialization-dependencies "Transform"
diff --git a/src/metabase/transforms/models/transform_job.clj b/src/metabase/transforms/models/transform_job.clj
index d559de26d15..1a11a5bff93 100644
--- a/src/metabase/transforms/models/transform_job.clj
+++ b/src/metabase/transforms/models/transform_job.clj
@@ -205,8 +205,7 @@
:defaults {:active true}
:transform {:name {:export str :import identity}
:description {:export str :import identity}
- :created_at (serdes/date)
- :job_tags (serdes/nested :model/TransformJobTransformTag :job_id (merge {:sort-by (juxt :position :created_at)} opts))}})
+ :job_tags (serdes/nested :model/TransformJobTransformTag :job_id (merge {:sort-by (juxt :position :entity_id)} opts))}})
(defmethod serdes/deserialization-dependencies "TransformJob"
[{:keys [job_tags]}]
diff --git a/src/metabase/transforms/models/transform_tag.clj b/src/metabase/transforms/models/transform_tag.clj
index d34a7f52313..c95ab239ae2 100644
--- a/src/metabase/transforms/models/transform_tag.clj
+++ b/src/metabase/transforms/models/transform_tag.clj
@@ -98,8 +98,7 @@
(defmethod serdes/make-spec "TransformTag"
[_model-name _opts]
{:copy [:entity_id :built_in_type]
- :transform {:name {:export str :import identity}
- :created_at (serdes/date)}})
+ :transform {:name {:export str :import identity}}})
(defmethod serdes/storage-path "TransformTag" [tt _ctx]
[{:label "transforms"} {:label "transform_tags"} {:label (:name tt) :key (:entity_id tt)}])
diff --git a/src/metabase/warehouse_schema/models/dimension.clj b/src/metabase/warehouse_schema/models/dimension.clj
index 8b4e977f7b7..5791bb36036 100644
--- a/src/metabase/warehouse_schema/models/dimension.clj
+++ b/src/metabase/warehouse_schema/models/dimension.clj
@@ -41,8 +41,7 @@
(defmethod serdes/make-spec "Dimension" [_model-name _opts]
{:copy [:name :type :entity_id]
:skip []
- :transform {:created_at (serdes/date)
- :human_readable_field_id (serdes/fk :model/Field)
+ :transform {:human_readable_field_id (serdes/fk :model/Field)
:field_id {::serdes/fk true
:export #(serdes/*export-field-fk* %)
:import-with-context
diff --git a/src/metabase/warehouse_schema/models/field.clj b/src/metabase/warehouse_schema/models/field.clj
index 32f1b7634c8..edddb3969fd 100644
--- a/src/metabase/warehouse_schema/models/field.clj
+++ b/src/metabase/warehouse_schema/models/field.clj
@@ -479,8 +479,7 @@
:json_unfolding :name :nfc_path :points_of_interest :position :preview_display :semantic_type :settings
:unique_field_helper :visibility_type]
:skip [:custom_position :dimension_interestingness :fingerprint :fingerprint_version :last_analyzed]
- :transform {:created_at (serdes/date)
- :table_id (serdes/fk :model/Table)
+ :transform {:table_id (serdes/fk :model/Table)
:fk_target_field_id (serdes/fk :model/Field)
:parent_id (serdes/fk :model/Field)}
:defaults {:active true
diff --git a/src/metabase/warehouse_schema/models/field_user_settings.clj b/src/metabase/warehouse_schema/models/field_user_settings.clj
index 6cffef7dd62..c287536671d 100644
--- a/src/metabase/warehouse_schema/models/field_user_settings.clj
+++ b/src/metabase/warehouse_schema/models/field_user_settings.clj
@@ -129,8 +129,7 @@
:defaults {:description_set false
:semantic_type_set false
:fk_target_field_id_set false}
- :transform {:created_at (serdes/date)
- :fk_target_field_id (serdes/fk :model/Field)
+ :transform {:fk_target_field_id (serdes/fk :model/Field)
:field_id {::serdes/fk true
:export #(serdes/*export-field-fk* %)
:import-with-context (fn [current _ _]
diff --git a/src/metabase/warehouse_schema/models/field_values.clj b/src/metabase/warehouse_schema/models/field_values.clj
index 20cc15b3239..3ebc5263184 100644
--- a/src/metabase/warehouse_schema/models/field_values.clj
+++ b/src/metabase/warehouse_schema/models/field_values.clj
@@ -710,9 +710,8 @@
(defmethod serdes/make-spec "FieldValues" [_model-name _opts]
{:copy [:values :human_readable_values :has_more_values :hash_key]
- :transform {:created_at (serdes/date)
- :last_used_at (serdes/date)
- :type (serdes/kw)
+ :skip [:last_used_at]
+ :transform {:type (serdes/kw)
:field_id {::serdes/fk true
:export #(serdes/*export-field-fk* %)
:import-with-context (fn [current _ _]
diff --git a/src/metabase/warehouse_schema/models/table.clj b/src/metabase/warehouse_schema/models/table.clj
index 6f6b4c5fb92..48c984bbd92 100644
--- a/src/metabase/warehouse_schema/models/table.clj
+++ b/src/metabase/warehouse_schema/models/table.clj
@@ -618,8 +618,7 @@
:database_require_filter :is_defective_duplicate :unique_table_helper :is_writable :data_authority
:data_source :owner_email :owner_user_id :is_published]
:skip [:estimated_row_count :view_count :transform_target]
- :transform {:created_at (serdes/date)
- :archived_at (serdes/date)
+ :transform {:archived_at (serdes/date)
:deactivated_at (serdes/date)
:data_layer (serdes/optional-kw)
:db_id (serdes/fk :model/Database)
diff --git a/src/metabase/warehouse_schema/models/table_user_settings.clj b/src/metabase/warehouse_schema/models/table_user_settings.clj
index da5d56f8986..a9fc7d5e360 100644
--- a/src/metabase/warehouse_schema/models/table_user_settings.clj
+++ b/src/metabase/warehouse_schema/models/table_user_settings.clj
@@ -195,8 +195,7 @@
:points_of_interest_set false
:data_layer_set false
:data_source_set false}
- :transform {:created_at (serdes/date)
- :collection_id (serdes/fk :model/Collection)
+ :transform {:collection_id (serdes/fk :model/Collection)
:owner_user_id (serdes/fk :model/User)
:data_layer (serdes/optional-kw)
:table_id {::serdes/fk true
diff --git a/src/metabase/warehouses/models/database.clj b/src/metabase/warehouses/models/database.clj
index 047c06d9c33..770ceb9b128 100644
--- a/src/metabase/warehouses/models/database.clj
+++ b/src/metabase/warehouses/models/database.clj
@@ -676,8 +676,7 @@
:cache_ttl
;; describes a sync on the source instance, and may name its connection details
:initial_sync_error]
- :transform {:created_at (serdes/date)
- :details details-transform
+ :transform {:details details-transform
:write_data_details details-transform
:admin_details details-transform
:creator_id (serdes/fk :model/User)
diff --git a/test/metabase/documents/models/document_test.clj b/test/metabase/documents/models/document_test.clj
index 69556d94912..f1be275550d 100644
--- a/test/metabase/documents/models/document_test.clj
+++ b/test/metabase/documents/models/document_test.clj
@@ -435,9 +435,7 @@
(is (= [:archived :archived_directly :content_type :entity_id :name :collection_position]
(:copy spec)))
(is (= [:view_count :last_viewed_at :public_uuid :public_uuid_prefix :made_public_by_id :exploration_id :is_placeholder] (:skip spec)))
- (is (contains? (:transform spec) :created_at))
(is (contains? (:transform spec) :document))
- (is (contains? (:transform spec) :updated_at))
(is (contains? (:transform spec) :collection_id))
(is (contains? (:transform spec) :creator_id))
(testing "foreign key transformers are properly configured"
diff --git a/test/metabase/util/embed_test.clj b/test/metabase/util/embed_test.clj
index 83f0b6f3fb6..c8897070713 100644
--- a/test/metabase/util/embed_test.clj
+++ b/test/metabase/util/embed_test.clj
@@ -9,6 +9,12 @@
(deftest maybe-populate-initially-published-at-test
(let [now #t "2022-09-01T12:34:56Z"]
(doseq [model [:model/Card :model/Dashboard]]
+ (testing "should populate `initially_published_at` when a Card is inserted with enable_embedding true"
+ (mt/with-temp [model card {:enable_embedding true}]
+ (is (some? (t2/select-one-fn :initially_published_at model :id (u/the-id card))))))
+ (testing "should keep `initially_published_at` value when a Card is inserted with one"
+ (mt/with-temp [model card {:enable_embedding true :initially_published_at now}]
+ (is (= (t/offset-date-time now) (t2/select-one-fn :initially_published_at model :id (u/the-id card))))))
(testing "should populate `initially_published_at` when a Card's enable_embedding is changed to true"
(mt/with-temp [model card {:enable_embedding false}]
(is (nil? (:initially_published_at card)))
diff --git a/test_resources/serialization_baseline/channels/email_channel.yaml b/test_resources/serialization_baseline/channels/email_channel.yaml
index c6b80d93153..25e6bae9dad 100644
--- a/test_resources/serialization_baseline/channels/email_channel.yaml
+++ b/test_resources/serialization_baseline/channels/email_channel.yaml
@@ -1,4 +1,3 @@
-created_at: '2024-09-11T15:36:01.845352Z'
description: Email notification channel
details:
host: smtp.example.com
diff --git a/test_resources/serialization_baseline/channels/http_channel.yaml b/test_resources/serialization_baseline/channels/http_channel.yaml
index 9fcbc1daf74..2ad3a1508ba 100644
--- a/test_resources/serialization_baseline/channels/http_channel.yaml
+++ b/test_resources/serialization_baseline/channels/http_channel.yaml
@@ -1,4 +1,3 @@
-created_at: '2024-09-11T15:36:01.845352Z'
details:
auth-method: none
url: http://example.com
diff --git a/test_resources/serialization_baseline/collections/main/dashboards.yaml b/test_resources/serialization_baseline/collections/main/dashboards.yaml
index 45d88ee0d90..6cfce4c4cef 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards.yaml
@@ -1,6 +1,5 @@
name: Dashboards
entity_id: cOlDaShBoArDs0ExAmPlx
slug: dashboards
-created_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/all_parameter_types.yaml b/test_resources/serialization_baseline/collections/main/dashboards/all_parameter_types.yaml
index 95511b3d13f..73522a7cbb0 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/all_parameter_types.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/all_parameter_types.yaml
@@ -1,6 +1,5 @@
name: All Parameter Types
entity_id: thzuTON-F8WG6EcXTXrNK
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters:
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/click_behavior_examples.yaml b/test_resources/serialization_baseline/collections/main/dashboards/click_behavior_examples.yaml
index 68df1e121db..aa84f5ccb84 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/click_behavior_examples.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/click_behavior_examples.yaml
@@ -1,6 +1,5 @@
name: Click Behavior Examples
entity_id: c0R_gvn90vURE5hdxK3f0
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters:
@@ -15,7 +14,6 @@ serdes/meta:
dashcards:
- entity_id: qaAe9ro4JL3ahgLLne-jG
card_id: Wo5d6IV8lb63wex29uh6H
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 18
@@ -36,7 +34,6 @@ dashcards:
visualization_settings: {}
- entity_id: iMNmMMABHvbbiVT3ufez6
card_id: UEWVldEEZ-3sYUjjN54qz
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 18
size_x: 6
@@ -47,7 +44,6 @@ dashcards:
visualization_settings: {}
- entity_id: RasgF0LvnoJlu7ModLrqv
card_id: dYD1j3pQtJdctg8duByUL
- created_at: '2026-04-02T02:59:02.778668Z'
row: 9
col: 0
size_x: 12
@@ -58,7 +54,6 @@ dashcards:
visualization_settings: {}
- entity_id: NSyK1LJldomowKbt0HpuE
card_id: ciG63nSLHKRTImt5iWEte
- created_at: '2026-04-02T02:59:02.778668Z'
row: 9
col: 12
size_x: 12
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/inline_parameters_dashboard.yaml b/test_resources/serialization_baseline/collections/main/dashboards/inline_parameters_dashboard.yaml
index eefda2f100c..65e0b2411f8 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/inline_parameters_dashboard.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/inline_parameters_dashboard.yaml
@@ -1,6 +1,5 @@
name: Inline Parameters Dashboard
entity_id: eUXWiB6QAXkOc7P1ozoat
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters:
@@ -21,7 +20,6 @@ serdes/meta:
- model: Dashboard
dashcards:
- entity_id: yaY0FfjZyI9oEQQR5TZ3q
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 24
@@ -35,7 +33,6 @@ dashcards:
virtual_card:
display: heading
- entity_id: v29EoQMk66PPR6a68pe_S
- created_at: '2026-04-02T02:59:02.778668Z'
row: 1
col: 0
size_x: 12
@@ -53,7 +50,6 @@ dashcards:
display: text
- entity_id: _5CQR0-k5mgaLOemB5EOl
card_id: h5F2EjHsRd73Dqqh8sAtd
- created_at: '2026-04-02T02:59:02.778668Z'
row: 3
col: 0
size_x: 18
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings.yaml
index 3f85c089696..416a4c8779c 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings.yaml
@@ -1,6 +1,5 @@
name: Series and Parameter Mappings
entity_id: 8xFV0XmZs2olbGKXWenfS
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters:
@@ -21,7 +20,6 @@ serdes/meta:
dashcards:
- entity_id: WNjyHH5uA36yKp9D7X7bw
card_id: dShCrdMnthlyOrdrs0001
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 12
@@ -61,7 +59,6 @@ dashcards:
graph.y_axis.title_text: Revenue
- entity_id: MyNhSS9N9C8B373tSlfaX
card_id: dShCrdNatveOrders0005
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 12
size_x: 6
@@ -78,7 +75,6 @@ dashcards:
visualization_settings: {}
- entity_id: f9pAJKJNxCtrS93uIN7F4
card_id: dShCrdTtlRevScalr0006
- created_at: '2026-04-02T02:59:02.778668Z'
row: 6
col: 0
size_x: 6
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_average_order.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_average_order.yaml
index ec99e36c388..53db6a848d9 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_average_order.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_average_order.yaml
@@ -1,6 +1,5 @@
name: Monthly Average Order
entity_id: dShCrdMnthlyAvgOr0003
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_cumulative_orders.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_cumulative_orders.yaml
index 2e111c34dbf..4850d51fab4 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_cumulative_orders.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_cumulative_orders.yaml
@@ -1,6 +1,5 @@
name: Monthly Cumulative Orders
entity_id: dShCrdMnthlyCumul0004
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_orders.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_orders.yaml
index 8bfedce93bf..96246ac342b 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_orders.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_orders.yaml
@@ -1,6 +1,5 @@
name: Monthly Orders
entity_id: dShCrdMnthlyOrdrs0001
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_revenue.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_revenue.yaml
index 3a28abca692..21b2dc82db0 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_revenue.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/monthly_revenue.yaml
@@ -1,6 +1,5 @@
name: Monthly Revenue
entity_id: dShCrdMnthlyRevnu0002
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/native_orders_query.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/native_orders_query.yaml
index a06383061b3..bd60cb00521 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/native_orders_query.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/native_orders_query.yaml
@@ -1,6 +1,5 @@
name: Native Orders Query
entity_id: dShCrdNatveOrders0005
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/total_revenue.yaml b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/total_revenue.yaml
index abbbf50c0a2..f200769a60d 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/total_revenue.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/series_and_parameter_mappings/total_revenue.yaml
@@ -1,6 +1,5 @@
name: Total Revenue
entity_id: dShCrdTtlRevScalr0006
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: scalar
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard.yaml b/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard.yaml
index 3a45faaea4d..a22652703d0 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard.yaml
@@ -1,6 +1,5 @@
name: Tabbed Dashboard
entity_id: 7RZUq1g5o1C5ws_e3ppKf
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters:
@@ -15,7 +14,6 @@ serdes/meta:
dashcards:
- entity_id: _Bv8Qc16SHr8CtmMHBEub
card_id: h5F2EjHsRd73Dqqh8sAtd
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 12
@@ -39,7 +37,6 @@ dashcards:
visualization_settings: {}
- entity_id: uyqXk5DNhkAMTp4W1TD9-
card_id: dShCrdProdsTables0007
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 18
@@ -52,16 +49,13 @@ dashcards:
series: []
visualization_settings: {}
tabs:
-- created_at: '2026-04-02T02:59:02.778668Z'
- entity_id: XcmNByL-bsDQ15jLHBUwr
+- entity_id: XcmNByL-bsDQ15jLHBUwr
name: Overview
position: 0
-- created_at: '2026-04-02T02:59:02.778668Z'
- entity_id: frlnbZFzBEzun9_GwdiZd
+- entity_id: frlnbZFzBEzun9_GwdiZd
name: Details
position: 1
-- created_at: '2026-04-02T02:59:02.778668Z'
- entity_id: tiXyfAYcKGSBaGMVsqVom
+- entity_id: tiXyfAYcKGSBaGMVsqVom
name: Analysis
position: 2
width: full
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard/products_table.yaml b/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard/products_table.yaml
index 92de3037adb..fdb707a5719 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard/products_table.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/tabbed_dashboard/products_table.yaml
@@ -1,6 +1,5 @@
name: Products Table
entity_id: dShCrdProdsTables0007
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlDaShBoArDs0ExAmPlx
diff --git a/test_resources/serialization_baseline/collections/main/dashboards/virtual_cards_dashboard.yaml b/test_resources/serialization_baseline/collections/main/dashboards/virtual_cards_dashboard.yaml
index ff7d0169779..779adffdd41 100644
--- a/test_resources/serialization_baseline/collections/main/dashboards/virtual_cards_dashboard.yaml
+++ b/test_resources/serialization_baseline/collections/main/dashboards/virtual_cards_dashboard.yaml
@@ -1,6 +1,5 @@
name: Virtual Cards Dashboard
entity_id: Ylbpm_iPeEYav_o0kpUVD
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: cOlDaShBoArDs0ExAmPlx
parameters: []
@@ -8,7 +7,6 @@ serdes/meta:
- model: Dashboard
dashcards:
- entity_id: WcNpxqVEO_rIeWZwjYv7Z
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 24
@@ -21,7 +19,6 @@ dashcards:
virtual_card:
display: heading
- entity_id: TF6Oiw2C13CgEKtPyHIow
- created_at: '2026-04-02T02:59:02.778668Z'
row: 1
col: 0
size_x: 12
@@ -37,7 +34,6 @@ dashcards:
virtual_card:
display: text
- entity_id: oGC6qBNiHOKo0tWAHWC1m
- created_at: '2026-04-02T02:59:02.778668Z'
row: 1
col: 12
size_x: 8
@@ -51,7 +47,6 @@ dashcards:
virtual_card:
display: link
- entity_id: 7jlJ-VFISvhlHqxeW7rWp
- created_at: '2026-04-02T02:59:02.778668Z'
row: 2
col: 12
size_x: 8
@@ -67,7 +62,6 @@ dashcards:
virtual_card:
display: link
- entity_id: wn16Kfjjjik8153kj14yI
- created_at: '2026-04-02T02:59:02.778668Z'
row: 4
col: 0
size_x: 12
@@ -80,7 +74,6 @@ dashcards:
virtual_card:
display: iframe
- entity_id: HZ_JpYrkE8fMEYJg93RKd
- created_at: '2026-04-02T02:59:02.778668Z'
row: 5
col: 12
size_x: 4
diff --git a/test_resources/serialization_baseline/collections/main/documents.yaml b/test_resources/serialization_baseline/collections/main/documents.yaml
index f497e700f69..23dca32a5d0 100644
--- a/test_resources/serialization_baseline/collections/main/documents.yaml
+++ b/test_resources/serialization_baseline/collections/main/documents.yaml
@@ -1,6 +1,5 @@
name: Documents
entity_id: cOlDoCuMeNtS0ExAmPlx2
slug: documents
-created_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/documents/product_analysis_report.yaml b/test_resources/serialization_baseline/collections/main/documents/product_analysis_report.yaml
index 6a8c4eb3ede..9709e9b5cae 100644
--- a/test_resources/serialization_baseline/collections/main/documents/product_analysis_report.yaml
+++ b/test_resources/serialization_baseline/collections/main/documents/product_analysis_report.yaml
@@ -1,6 +1,5 @@
collection_id: cOlDoCuMeNtS0ExAmPlx2
content_type: application/json+vnd.prose-mirror
-created_at: '2025-01-15T10:00:00Z'
creator_id: [email protected]
document:
content:
@@ -83,6 +82,5 @@ document:
type: doc
entity_id: dOc1PrOdAnAlYsIsRpTx2
name: Product Analysis Report
-updated_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Document
diff --git a/test_resources/serialization_baseline/collections/main/documents/product_analysis_report/category_breakdown.yaml b/test_resources/serialization_baseline/collections/main/documents/product_analysis_report/category_breakdown.yaml
index e13c857eb09..fbce25562b7 100644
--- a/test_resources/serialization_baseline/collections/main/documents/product_analysis_report/category_breakdown.yaml
+++ b/test_resources/serialization_baseline/collections/main/documents/product_analysis_report/category_breakdown.yaml
@@ -1,6 +1,5 @@
name: Category Breakdown
entity_id: cRdCaTbReAkDoWn0ExMp1
-created_at: '2025-01-15T10:00:00Z'
creator_id: [email protected]
display: bar
collection_id: cOlDoCuMeNtS0ExAmPlx2
diff --git a/test_resources/serialization_baseline/collections/main/minimal.yaml b/test_resources/serialization_baseline/collections/main/minimal.yaml
index d81bbd30a40..7bacc4ff28b 100644
--- a/test_resources/serialization_baseline/collections/main/minimal.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal.yaml
@@ -1,6 +1,5 @@
name: Minimal
entity_id: cOlMiNiMaL000ExAmPlx2
slug: minimal
-created_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics.yaml b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics.yaml
index 71b7f10ad43..bbaaa107045 100644
--- a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics.yaml
@@ -1,7 +1,6 @@
name: Marketing Analytics
entity_id: M-Q4pcV0qkiyJ0kiSWECl
slug: marketing_analytics
-created_at: '2026-04-02T02:59:02.778668Z'
parent_id: cOlMiNiMaL000ExAmPlx2
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_dashboard.yaml b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_dashboard.yaml
index ac36ab0ae9a..fefc7567a30 100644
--- a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_dashboard.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_dashboard.yaml
@@ -1,6 +1,5 @@
name: Product Dashboard
entity_id: Q_jD-f-9clKLFZ2TfUG2h
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
collection_id: M-Q4pcV0qkiyJ0kiSWECl
parameters:
@@ -15,7 +14,6 @@ serdes/meta:
dashcards:
- entity_id: UkpFcfUZMZt9ehChwnrAO
card_id: f1C68pznmrpN1F5xFDj6d
- created_at: '2026-04-02T02:59:02.778668Z'
row: 0
col: 0
size_x: 18
diff --git a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_overview.yaml b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_overview.yaml
index 232f317d9fb..6b1bccddd48 100644
--- a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_overview.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/product_overview.yaml
@@ -1,6 +1,5 @@
name: Product Overview
entity_id: f1C68pznmrpN1F5xFDj6d
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: M-Q4pcV0qkiyJ0kiSWECl
diff --git a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/top_products_by_revenue.yaml b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/top_products_by_revenue.yaml
index 87fde29ba14..5f2f8fcbbc8 100644
--- a/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/top_products_by_revenue.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal/marketing_analytics/top_products_by_revenue.yaml
@@ -1,6 +1,5 @@
name: Top Products by Revenue
entity_id: FTxpeL9vY5pyb6Lc6lCDK
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: bar
collection_id: M-Q4pcV0qkiyJ0kiSWECl
diff --git a/test_resources/serialization_baseline/collections/main/minimal/populated_timeline.yaml b/test_resources/serialization_baseline/collections/main/minimal/populated_timeline.yaml
index 04a5f833677..abce7eebc3d 100644
--- a/test_resources/serialization_baseline/collections/main/minimal/populated_timeline.yaml
+++ b/test_resources/serialization_baseline/collections/main/minimal/populated_timeline.yaml
@@ -1,10 +1,8 @@
collection_id: cOlMiNiMaL000ExAmPlx2
-created_at: '2024-08-28T14:31:56.940526Z'
creator_id: [email protected]
entity_id: jqbQYdaqb_vXFlZnjvshP
events:
-- created_at: '2024-08-28T14:31:56.942571Z'
- creator_id: [email protected]
+- creator_id: [email protected]
entity_id: UlA1lYjo2tSI6497Ovj_4
icon: star
name: First Event
diff --git a/test_resources/serialization_baseline/collections/main/my_action.yaml b/test_resources/serialization_baseline/collections/main/my_action.yaml
index e5d87e371fd..b6d2c6550ab 100644
--- a/test_resources/serialization_baseline/collections/main/my_action.yaml
+++ b/test_resources/serialization_baseline/collections/main/my_action.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
entity_id: aCtiOn00ExAmPlEx00001
implicit:
diff --git a/test_resources/serialization_baseline/collections/main/queries.yaml b/test_resources/serialization_baseline/collections/main/queries.yaml
index e8b3b7c13ed..9c8f55cc2dd 100644
--- a/test_resources/serialization_baseline/collections/main/queries.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries.yaml
@@ -1,6 +1,5 @@
name: Queries
entity_id: cOlQuErIeS0ExAmPlE2x1
slug: queries
-created_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/queries/arithmetic_expressions.yaml b/test_resources/serialization_baseline/collections/main/queries/arithmetic_expressions.yaml
index 6cd2a8a7f97..7cfa346851c 100644
--- a/test_resources/serialization_baseline/collections/main/queries/arithmetic_expressions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/arithmetic_expressions.yaml
@@ -1,6 +1,5 @@
name: Arithmetic Expressions
entity_id: 1O_2jSo2fD6m3Qr6My7aa
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/basic_aggregations.yaml b/test_resources/serialization_baseline/collections/main/queries/basic_aggregations.yaml
index db5c8e644c2..9fd2b0321c0 100644
--- a/test_resources/serialization_baseline/collections/main/queries/basic_aggregations.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/basic_aggregations.yaml
@@ -1,6 +1,5 @@
name: Basic Aggregations
entity_id: h5F2EjHsRd73Dqqh8sAtd
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/comparison_filters.yaml b/test_resources/serialization_baseline/collections/main/queries/comparison_filters.yaml
index 5938541eb3f..57446c5dcf0 100644
--- a/test_resources/serialization_baseline/collections/main/queries/comparison_filters.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/comparison_filters.yaml
@@ -1,6 +1,5 @@
name: Comparison Filters
entity_id: 8kTL-8IzNdWMtXfaMPZaE
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/conditional_aggregations.yaml b/test_resources/serialization_baseline/collections/main/queries/conditional_aggregations.yaml
index edfcd25de71..499a0108739 100644
--- a/test_resources/serialization_baseline/collections/main/queries/conditional_aggregations.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/conditional_aggregations.yaml
@@ -1,6 +1,5 @@
name: Conditional Aggregations
entity_id: irROiaJoSsiXPKGxwWvWY
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/conditional_and_type_conversion.yaml b/test_resources/serialization_baseline/collections/main/queries/conditional_and_type_conversion.yaml
index 1a540768cfe..cc819f5e111 100644
--- a/test_resources/serialization_baseline/collections/main/queries/conditional_and_type_conversion.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/conditional_and_type_conversion.yaml
@@ -1,6 +1,5 @@
name: Conditional and Type Conversion
entity_id: 1hsUzNOepulZo3Jamzd1R
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/cumulative_and_statistical_aggregations.yaml b/test_resources/serialization_baseline/collections/main/queries/cumulative_and_statistical_aggregations.yaml
index 7191894b9e6..51ab93461a9 100644
--- a/test_resources/serialization_baseline/collections/main/queries/cumulative_and_statistical_aggregations.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/cumulative_and_statistical_aggregations.yaml
@@ -1,6 +1,5 @@
name: Cumulative and Statistical Aggregations
entity_id: x61UtCMCuBNjw0TEFQeWG
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/fields_and_expressions.yaml b/test_resources/serialization_baseline/collections/main/queries/fields_and_expressions.yaml
index d04e87aab07..53181dde19b 100644
--- a/test_resources/serialization_baseline/collections/main/queries/fields_and_expressions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/fields_and_expressions.yaml
@@ -1,6 +1,5 @@
name: Fields and Expressions
entity_id: fLdExPr3sS10nS0ExAmPl
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/geographic_filter__inside_.yaml b/test_resources/serialization_baseline/collections/main/queries/geographic_filter__inside_.yaml
index b76249c8bc2..975e6a8dda6 100644
--- a/test_resources/serialization_baseline/collections/main/queries/geographic_filter__inside_.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/geographic_filter__inside_.yaml
@@ -1,6 +1,5 @@
name: Geographic Filter (Inside)
entity_id: bK64P6yr9_Nx-A8S3PqOZ
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: map
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/joins___strategies_and_compound_conditions.yaml b/test_resources/serialization_baseline/collections/main/queries/joins___strategies_and_compound_conditions.yaml
index 9bdd0cbbd46..d1b5247c2ab 100644
--- a/test_resources/serialization_baseline/collections/main/queries/joins___strategies_and_compound_conditions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/joins___strategies_and_compound_conditions.yaml
@@ -1,6 +1,5 @@
name: Joins - Strategies and Compound Conditions
entity_id: wpW9JO5MsHQd0-7WrR7gN
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/math_functions.yaml b/test_resources/serialization_baseline/collections/main/queries/math_functions.yaml
index c549d185fc9..17956c31c2e 100644
--- a/test_resources/serialization_baseline/collections/main/queries/math_functions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/math_functions.yaml
@@ -1,6 +1,5 @@
name: Math Functions
entity_id: jPrM-oh3r1BR42xSs4Ipj
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/metric__measure__and_segment_references.yaml b/test_resources/serialization_baseline/collections/main/queries/metric__measure__and_segment_references.yaml
index 9a278818933..306d16da3a6 100644
--- a/test_resources/serialization_baseline/collections/main/queries/metric__measure__and_segment_references.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/metric__measure__and_segment_references.yaml
@@ -1,6 +1,5 @@
name: Metric, Measure, and Segment References
entity_id: kBjQ5VXJ5z3vYSW72J6qa
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/native_query___card_and_snippet_references.yaml b/test_resources/serialization_baseline/collections/main/queries/native_query___card_and_snippet_references.yaml
index 186a2991b4e..195d2497b8b 100644
--- a/test_resources/serialization_baseline/collections/main/queries/native_query___card_and_snippet_references.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/native_query___card_and_snippet_references.yaml
@@ -1,6 +1,5 @@
name: Native Query - Card and Snippet References
entity_id: HiBFSt0BNx5s5MxVDLLKB
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/native_query___field_filter_and_temporal_unit.yaml b/test_resources/serialization_baseline/collections/main/queries/native_query___field_filter_and_temporal_unit.yaml
index faac565760d..eea82e9e6a5 100644
--- a/test_resources/serialization_baseline/collections/main/queries/native_query___field_filter_and_temporal_unit.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/native_query___field_filter_and_temporal_unit.yaml
@@ -1,6 +1,5 @@
name: Native Query - Field Filter and Temporal Unit
entity_id: sk02d7sPWAk2TYH2Y7JhZ
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/native_query___variables.yaml b/test_resources/serialization_baseline/collections/main/queries/native_query___variables.yaml
index 97a28b6bb62..4213bf3f2ff 100644
--- a/test_resources/serialization_baseline/collections/main/queries/native_query___variables.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/native_query___variables.yaml
@@ -1,6 +1,5 @@
name: Native Query - Variables
entity_id: 2u10n8GV6u0LFYrq8yV5p
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/nested_query.yaml b/test_resources/serialization_baseline/collections/main/queries/nested_query.yaml
index b6f176a10ab..df079e93c7f 100644
--- a/test_resources/serialization_baseline/collections/main/queries/nested_query.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/nested_query.yaml
@@ -1,6 +1,5 @@
name: Nested Query
entity_id: 1t9TE-8T-AlaM19nx3yQV
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/null__empty__and_string_filters.yaml b/test_resources/serialization_baseline/collections/main/queries/null__empty__and_string_filters.yaml
index 1b5628c9337..9a66b04a0b2 100644
--- a/test_resources/serialization_baseline/collections/main/queries/null__empty__and_string_filters.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/null__empty__and_string_filters.yaml
@@ -1,6 +1,5 @@
name: Null, Empty, and String Filters
entity_id: ZvHEBpdFQ-VSvem16KCkL
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/source_card_reference.yaml b/test_resources/serialization_baseline/collections/main/queries/source_card_reference.yaml
index bd2280b382d..2dba201e79e 100644
--- a/test_resources/serialization_baseline/collections/main/queries/source_card_reference.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/source_card_reference.yaml
@@ -1,6 +1,5 @@
name: Source Card Reference
entity_id: gt4OaWYAuDWRHn5Irnd4h
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/string_functions.yaml b/test_resources/serialization_baseline/collections/main/queries/string_functions.yaml
index a9fd17e8f35..cb015f06cd9 100644
--- a/test_resources/serialization_baseline/collections/main/queries/string_functions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/string_functions.yaml
@@ -1,6 +1,5 @@
name: String Functions
entity_id: HeLFZSVb4Jm25p4tWfVP9
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/temporal_and_logical_filters.yaml b/test_resources/serialization_baseline/collections/main/queries/temporal_and_logical_filters.yaml
index 4ae50ccda2e..98c191ccb1b 100644
--- a/test_resources/serialization_baseline/collections/main/queries/temporal_and_logical_filters.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/temporal_and_logical_filters.yaml
@@ -1,6 +1,5 @@
name: Temporal and Logical Filters
entity_id: BMx-SlSPsSfGSKaEgOzn0
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/temporal_expressions.yaml b/test_resources/serialization_baseline/collections/main/queries/temporal_expressions.yaml
index 13d67cc49af..841fec04887 100644
--- a/test_resources/serialization_baseline/collections/main/queries/temporal_expressions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/temporal_expressions.yaml
@@ -1,6 +1,5 @@
name: Temporal Expressions
entity_id: DBBrqcMAmOO0sbM_CzM_Z
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/temporal_extraction.yaml b/test_resources/serialization_baseline/collections/main/queries/temporal_extraction.yaml
index 9d2508cb92d..f6f7717af64 100644
--- a/test_resources/serialization_baseline/collections/main/queries/temporal_extraction.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/temporal_extraction.yaml
@@ -1,6 +1,5 @@
name: Temporal Extraction
entity_id: bDK7jyPszEHzHh4aG4_SV
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/total_revenue.yaml b/test_resources/serialization_baseline/collections/main/queries/total_revenue.yaml
index 2c0b92553a3..a97614a8d9d 100644
--- a/test_resources/serialization_baseline/collections/main/queries/total_revenue.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/total_revenue.yaml
@@ -1,6 +1,5 @@
name: Total Revenue
entity_id: IW8kbqZVaMxdGtCM2F4U6
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: scalar
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/url_functions.yaml b/test_resources/serialization_baseline/collections/main/queries/url_functions.yaml
index 25593e35252..b235e44052d 100644
--- a/test_resources/serialization_baseline/collections/main/queries/url_functions.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/url_functions.yaml
@@ -1,6 +1,5 @@
name: URL Functions
entity_id: uwAeNRHymXTD1G_7lWV1d
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/queries/window_function___offset.yaml b/test_resources/serialization_baseline/collections/main/queries/window_function___offset.yaml
index 5ae4a336044..dd40f89a8c1 100644
--- a/test_resources/serialization_baseline/collections/main/queries/window_function___offset.yaml
+++ b/test_resources/serialization_baseline/collections/main/queries/window_function___offset.yaml
@@ -1,6 +1,5 @@
name: Window Function - Offset
entity_id: ErQY8K5Tep4xBc3VY_-1e
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlQuErIeS0ExAmPlE2x1
diff --git a/test_resources/serialization_baseline/collections/main/source_model.yaml b/test_resources/serialization_baseline/collections/main/source_model.yaml
index 6c6440f1cdf..ffac8c88b38 100644
--- a/test_resources/serialization_baseline/collections/main/source_model.yaml
+++ b/test_resources/serialization_baseline/collections/main/source_model.yaml
@@ -1,6 +1,5 @@
name: Source Model
entity_id: sRcMoDeL00ExAmPlEx001
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
parameters: []
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings.yaml
index ab386241355..1cb0c59882e 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings.yaml
@@ -1,6 +1,5 @@
name: Visualization Settings
entity_id: cOlViZsEtTiNgS0ExAmP1
slug: visualization_settings
-created_at: '2026-04-02T02:59:02.778668Z'
serdes/meta:
- model: Collection
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/customer_locations__map_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/customer_locations__map_.yaml
index bd630194036..faa09b5fe12 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/customer_locations__map_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/customer_locations__map_.yaml
@@ -1,6 +1,5 @@
name: Customer Locations (Map)
entity_id: CI61cHgBAKPBEDTxhK8X3
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: map
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/monthly_revenue_changes__waterfall_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/monthly_revenue_changes__waterfall_.yaml
index 7458f9a7fec..c7b01ead590 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/monthly_revenue_changes__waterfall_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/monthly_revenue_changes__waterfall_.yaml
@@ -1,6 +1,5 @@
name: Monthly Revenue Changes (Waterfall)
entity_id: kJWYpTzyc9ow-75HjyIhf
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: waterfall
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__pie_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__pie_.yaml
index d4f193a3a24..66bd0919878 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__pie_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__pie_.yaml
@@ -1,6 +1,5 @@
name: Orders by Category (Pie)
entity_id: dYD1j3pQtJdctg8duByUL
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: pie
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__stacked_bar_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__stacked_bar_.yaml
index 58c38495132..59b8896be29 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__stacked_bar_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_by_category__stacked_bar_.yaml
@@ -1,6 +1,5 @@
name: Orders by Category (Stacked Bar)
entity_id: ciG63nSLHKRTImt5iWEte
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: bar
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_pivot_table.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_pivot_table.yaml
index ee36d91ee30..7aef35ecf74 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/orders_pivot_table.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/orders_pivot_table.yaml
@@ -1,6 +1,5 @@
name: Orders Pivot Table
entity_id: BjwHr6elEuKQuL26BEgno
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: pivot
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/products_table__formatted_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/products_table__formatted_.yaml
index 68b4d1d1f94..e4b21f1b0bc 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/products_table__formatted_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/products_table__formatted_.yaml
@@ -1,6 +1,5 @@
name: Products Table (Formatted)
entity_id: Wo5d6IV8lb63wex29uh6H
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: table
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_gauge.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_gauge.yaml
index c067e50e615..f694adf0535 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_gauge.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_gauge.yaml
@@ -1,6 +1,5 @@
name: Revenue Gauge
entity_id: GWrIQqjbzxysSCm8PLU5j
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: gauge
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_over_time__line_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_over_time__line_.yaml
index d5c11b88491..e4d9db1cba0 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_over_time__line_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/revenue_over_time__line_.yaml
@@ -1,6 +1,5 @@
name: Revenue Over Time (Line)
entity_id: UEWVldEEZ-3sYUjjN54qz
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: line
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/sales_funnel.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/sales_funnel.yaml
index b61cf639055..4ebe9f7cb45 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/sales_funnel.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/sales_funnel.yaml
@@ -1,6 +1,5 @@
name: Sales Funnel
entity_id: mkKa6jf-QsuCRnaPOIsYh
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: funnel
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/main/visualization_settings/total_revenue__smart_scalar_.yaml b/test_resources/serialization_baseline/collections/main/visualization_settings/total_revenue__smart_scalar_.yaml
index d521479464b..434776b564e 100644
--- a/test_resources/serialization_baseline/collections/main/visualization_settings/total_revenue__smart_scalar_.yaml
+++ b/test_resources/serialization_baseline/collections/main/visualization_settings/total_revenue__smart_scalar_.yaml
@@ -1,6 +1,5 @@
name: Total Revenue (Smart Scalar)
entity_id: bSj47tilPIkwDIewvMf8z
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
display: smartscalar
collection_id: cOlViZsEtTiNgS0ExAmP1
diff --git a/test_resources/serialization_baseline/collections/snippets/active_product_filter.yaml b/test_resources/serialization_baseline/collections/snippets/active_product_filter.yaml
index 4995f02210b..e564478ae6b 100644
--- a/test_resources/serialization_baseline/collections/snippets/active_product_filter.yaml
+++ b/test_resources/serialization_baseline/collections/snippets/active_product_filter.yaml
@@ -1,6 +1,5 @@
name: Active Product Filter
entity_id: WyQWnT23PF-SfbYLROllJ
-created_at: '2026-04-02T02:59:02.778668Z'
content: '"CREATED_AT" >= DATEADD(''year'', -1, CURRENT_TIMESTAMP) AND "total_revenue" > 100'
creator_id: [email protected]
template_tags: {}
diff --git a/test_resources/serialization_baseline/collections/snippets/active_recent_filter.yaml b/test_resources/serialization_baseline/collections/snippets/active_recent_filter.yaml
index 111f097d294..e19ec573990 100644
--- a/test_resources/serialization_baseline/collections/snippets/active_recent_filter.yaml
+++ b/test_resources/serialization_baseline/collections/snippets/active_recent_filter.yaml
@@ -1,7 +1,6 @@
name: Active Recent Filter
description: Combines Active Product Filter with Date Range Filter
entity_id: c5PMqT66HwWoy0m52WTI5
-created_at: '2026-04-02T02:59:02.778668Z'
content: '{{snippet: Active Product Filter}} AND {{snippet: Date Range Filter}} AND {{snippet: Missing Filter}}
AND category = {{category}} AND id IN (SELECT id FROM {{#1-basic-aggregations}})'
creator_id: [email protected]
diff --git a/test_resources/serialization_baseline/collections/snippets/date_range_filter.yaml b/test_resources/serialization_baseline/collections/snippets/date_range_filter.yaml
index 286914ba404..88af6590bfd 100644
--- a/test_resources/serialization_baseline/collections/snippets/date_range_filter.yaml
+++ b/test_resources/serialization_baseline/collections/snippets/date_range_filter.yaml
@@ -1,6 +1,5 @@
name: Date Range Filter
entity_id: jpIUEStroQyLnJ-MVfeS4
-created_at: '2026-04-02T02:59:02.778668Z'
content: CREATED_AT BETWEEN '2024-01-01' AND '2024-12-31'
creator_id: [email protected]
template_tags: {}
diff --git a/test_resources/serialization_baseline/collections/transforms/daily_order_summary.yaml b/test_resources/serialization_baseline/collections/transforms/daily_order_summary.yaml
index 08a6178fdca..70dd1ef550e 100644
--- a/test_resources/serialization_baseline/collections/transforms/daily_order_summary.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/daily_order_summary.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: 7XqqzlsonSq4KFyOvtrAm
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/hourly_product_stats.yaml b/test_resources/serialization_baseline/collections/transforms/hourly_product_stats.yaml
index e0579c3ac45..a153a1f2f21 100644
--- a/test_resources/serialization_baseline/collections/transforms/hourly_product_stats.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/hourly_product_stats.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: aWiR53tfmHEibiFGuIQeP
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/monthly_order_summary.yaml b/test_resources/serialization_baseline/collections/transforms/monthly_order_summary.yaml
index c6be1f549e1..6a80d867d4a 100644
--- a/test_resources/serialization_baseline/collections/transforms/monthly_order_summary.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/monthly_order_summary.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: 1fNzUt_CgppinjPk7pGKH
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/monthly_sales_summary.yaml b/test_resources/serialization_baseline/collections/transforms/monthly_sales_summary.yaml
index 69b894ce9a2..8f937d71552 100644
--- a/test_resources/serialization_baseline/collections/transforms/monthly_sales_summary.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/monthly_sales_summary.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: w7EfUbsxLA7kXBHVXgeaZ
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/product_revenue_report.yaml b/test_resources/serialization_baseline/collections/transforms/product_revenue_report.yaml
index edd9e1c9fc6..21824524cb1 100644
--- a/test_resources/serialization_baseline/collections/transforms/product_revenue_report.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/product_revenue_report.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: 7JwIkkAG-06-nsl4jzsaq
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/product_summary.yaml b/test_resources/serialization_baseline/collections/transforms/product_summary.yaml
index b07e74999f3..1c868a0fdfe 100644
--- a/test_resources/serialization_baseline/collections/transforms/product_summary.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/product_summary.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: rT5vWxYz1aBcDeFgHiJkL
indexes: []
diff --git a/test_resources/serialization_baseline/collections/transforms/python_hello_world.yaml b/test_resources/serialization_baseline/collections/transforms/python_hello_world.yaml
index f3354d1e986..d51e74d71db 100644
--- a/test_resources/serialization_baseline/collections/transforms/python_hello_world.yaml
+++ b/test_resources/serialization_baseline/collections/transforms/python_hello_world.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:59:02.778668Z'
creator_id: [email protected]
entity_id: g2cRYwopfoL1BW9Y4n3wb
indexes: []
diff --git a/test_resources/serialization_baseline/custom_viz_plugins/test_plugin.yaml b/test_resources/serialization_baseline/custom_viz_plugins/test_plugin.yaml
index e422d5d23eb..cd85cfb6d9d 100644
--- a/test_resources/serialization_baseline/custom_viz_plugins/test_plugin.yaml
+++ b/test_resources/serialization_baseline/custom_viz_plugins/test_plugin.yaml
@@ -3,6 +3,5 @@ identifier: test-plugin
manifest: {}
bundle_hash: deadbeef
bundle: cHJldGVuZCB0Z3ogYnl0ZXM=
-created_at: '2026-04-02T01:50:04.994996Z'
serdes/meta:
- model: CustomVizPlugin
diff --git a/test_resources/serialization_baseline/databases/sample_database/sample_database.yaml b/test_resources/serialization_baseline/databases/sample_database/sample_database.yaml
index 32cd20353ae..89eb0435d9c 100644
--- a/test_resources/serialization_baseline/databases/sample_database/sample_database.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/sample_database.yaml
@@ -6,7 +6,6 @@ dbms_version:
semantic-version:
- 14
- 0
-created_at: '2024-08-28T14:38:42.764234Z'
timezone: UTC
metadata_sync_schedule: 0 22 * * * ? *
cache_field_values_schedule: 0 0 7 * * ? *
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/created_at.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/created_at.yaml
index 0ec0a0f52af..4132f684bde 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/created_at.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/created_at.yaml
@@ -1,6 +1,5 @@
name: CREATED_AT
display_name: Created At
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/discount.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/discount.yaml
index f861e1a023f..7c3d47d405d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/discount.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/discount.yaml
@@ -1,6 +1,5 @@
name: DISCOUNT
display_name: Discount
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/id.yaml
index a481118d197..e6cbaa37e88 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/id.yaml
@@ -1,6 +1,5 @@
name: ID
display_name: ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/product_id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/product_id.yaml
index 2e2a2d06bad..8e6a6f4d40a 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/product_id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/product_id.yaml
@@ -1,6 +1,5 @@
name: PRODUCT_ID
display_name: Product ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity.yaml
index ab349cb4525..e4ebb52b4fc 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity.yaml
@@ -1,6 +1,5 @@
name: QUANTITY
display_name: Quantity
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity___fieldvalues.yaml
index 155d5567eab..fc8007c64d7 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/quantity___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- ORDERS
- QUANTITY
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- 0
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/subtotal.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/subtotal.yaml
index ab28239369e..4580bf629df 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/subtotal.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/subtotal.yaml
@@ -1,6 +1,5 @@
name: SUBTOTAL
display_name: Subtotal
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/tax.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/tax.yaml
index a3cced2f74c..07d61bbf985 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/tax.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/tax.yaml
@@ -1,6 +1,5 @@
name: TAX
display_name: Tax
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total.yaml
index 70c99c35183..2c81c39a702 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total.yaml
@@ -1,6 +1,5 @@
name: TOTAL
display_name: Total
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total___fieldusersettings.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total___fieldusersettings.yaml
index e005b75a559..998217a5926 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total___fieldusersettings.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/total___fieldusersettings.yaml
@@ -3,7 +3,6 @@ field_id:
- PUBLIC
- ORDERS
- TOTAL
-created_at: '2025-06-13T12:52:06.383265Z'
description: Total order amount including tax
serdes/meta:
- model: FieldUserSettings
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id.yaml
index 602064fcaee..494339a9290 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id.yaml
@@ -1,6 +1,5 @@
name: USER_ID
display_name: User ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id___dimension.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id___dimension.yaml
index 8c0f98735ae..c79fe51f9c0 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id___dimension.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/fields/user_id___dimension.yaml
@@ -3,7 +3,6 @@ field_id:
- PUBLIC
- ORDERS
- USER_ID
-created_at: '2025-06-13T12:52:06.383265Z'
entity_id: aMXK1q9eBB518aoCBQ6oo
human_readable_field_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/average_revenue_per_order.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/average_revenue_per_order.yaml
index 1531dd2102f..e81b46fa1cb 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/average_revenue_per_order.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/average_revenue_per_order.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/median_order_total.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/median_order_total.yaml
index ec3ebb88512..d04978ad51e 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/median_order_total.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/median_order_total.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/order_count.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/order_count.yaml
index 3edfe61a76c..667a6aad0e8 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/order_count.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/order_count.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/total_revenue.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/total_revenue.yaml
index b469b8aedc2..6ac0bf7012f 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/total_revenue.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/measures/total_revenue.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders.yaml
index a96b292f0cd..e552cc6a9d9 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders.yaml
@@ -1,6 +1,5 @@
name: ORDERS
display_name: Orders
-created_at: '2024-08-28T14:38:42.774331Z'
db_id: Sample Database
schema: PUBLIC
entity_type: entity/TransactionTable
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders___tableusersettings.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders___tableusersettings.yaml
index d9fe07a43cb..439de6ebd94 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders___tableusersettings.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/orders___tableusersettings.yaml
@@ -2,7 +2,6 @@ table_id:
- Sample Database
- PUBLIC
- ORDERS
-created_at: '2025-06-13T12:52:06.383265Z'
description: Every order placed, as the team describes it
display_name: Customer Orders
serdes/meta:
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/segments/large_orders.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/segments/large_orders.yaml
index c3df20bc461..d9b60a9c409 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/segments/large_orders.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/orders/segments/large_orders.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/address.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/address.yaml
index c312e6edea9..b79781c555e 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/address.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/address.yaml
@@ -1,6 +1,5 @@
name: ADDRESS
display_name: Address
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/birth_date.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/birth_date.yaml
index c533b048bd7..0c634186819 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/birth_date.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/birth_date.yaml
@@ -1,6 +1,5 @@
name: BIRTH_DATE
display_name: Birth Date
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/city.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/city.yaml
index 6f285629134..d14781bb4e5 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/city.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/city.yaml
@@ -1,6 +1,5 @@
name: CITY
display_name: City
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/created_at.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/created_at.yaml
index 6589f6c30b4..a1f61f0acab 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/created_at.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/created_at.yaml
@@ -1,6 +1,5 @@
name: CREATED_AT
display_name: Created At
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/email.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/email.yaml
index f5a8ebc57aa..5e8b0a92a8a 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/email.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/email.yaml
@@ -1,6 +1,5 @@
name: EMAIL
display_name: Email
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/id.yaml
index 98cc8f2312c..ea2b83edfb3 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/id.yaml
@@ -1,6 +1,5 @@
name: ID
display_name: ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/latitude.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/latitude.yaml
index a90f2c363d4..42ba4b85546 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/latitude.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/latitude.yaml
@@ -1,6 +1,5 @@
name: LATITUDE
display_name: Latitude
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/longitude.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/longitude.yaml
index d8b2a14fabb..fc7307f0eba 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/longitude.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/longitude.yaml
@@ -1,6 +1,5 @@
name: LONGITUDE
display_name: Longitude
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/name.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/name.yaml
index ce9f3b3efc2..158b551dd36 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/name.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/name.yaml
@@ -1,6 +1,5 @@
name: NAME
display_name: Name
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/password.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/password.yaml
index b76bb76e81f..2a40d317b58 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/password.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/password.yaml
@@ -1,6 +1,5 @@
name: PASSWORD
display_name: Password
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source.yaml
index daa08f2e836..e23631a9f02 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source.yaml
@@ -1,6 +1,5 @@
name: SOURCE
display_name: Source
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source___fieldvalues.yaml
index e08145c38a9..7a56637aad0 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/source___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PEOPLE
- SOURCE
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- Affiliate
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state.yaml
index a1f1d6daa8f..3a7b80b1b77 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state.yaml
@@ -1,6 +1,5 @@
name: STATE
display_name: State
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state___fieldvalues.yaml
index 7b3cdf29c1d..63ac0561a7f 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/state___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PEOPLE
- STATE
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- AK
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/zip.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/zip.yaml
index c26abe5490e..a52c2aec58f 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/zip.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/fields/zip.yaml
@@ -1,6 +1,5 @@
name: ZIP
display_name: Zip
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/people.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/people.yaml
index d654179559b..1f1d2746f8f 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/people.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/people.yaml
@@ -1,6 +1,5 @@
name: PEOPLE
display_name: People
-created_at: '2024-08-28T14:38:42.774331Z'
db_id: Sample Database
schema: PUBLIC
entity_type: entity/UserTable
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/segments/nyc_area_people.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/segments/nyc_area_people.yaml
index ea70b9f3190..93de3fb1766 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/segments/nyc_area_people.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/people/segments/nyc_area_people.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category.yaml
index 7a0db455e79..f4578e0fac8 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category.yaml
@@ -1,6 +1,5 @@
name: CATEGORY
display_name: Category
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category___fieldvalues.yaml
index 73d4eb936d1..ac4d1df22a6 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/category___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PRODUCTS
- CATEGORY
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- Doohickey
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/created_at.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/created_at.yaml
index b7d99438103..e24ba2d4e72 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/created_at.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/created_at.yaml
@@ -1,6 +1,5 @@
name: CREATED_AT
display_name: Created At
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean.yaml
index f1ba8cac41f..f797dd6f22e 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean.yaml
@@ -1,6 +1,5 @@
name: EAN
display_name: Ean
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean___fieldvalues.yaml
index f1ed0e6cada..db522ead60f 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/ean___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PRODUCTS
- EAN
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- '0001664425970'
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/id.yaml
index 6b137ae328b..89f84f849d2 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/id.yaml
@@ -1,6 +1,5 @@
name: ID
display_name: ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/price.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/price.yaml
index 8cd4c39b140..566fc9d3d35 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/price.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/price.yaml
@@ -1,6 +1,5 @@
name: PRICE
display_name: Price
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/rating.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/rating.yaml
index 89c1cfc4826..556ddcc5a54 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/rating.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/rating.yaml
@@ -1,6 +1,5 @@
name: RATING
display_name: Rating
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title.yaml
index 0322ed8e18f..4110dacf135 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title.yaml
@@ -1,6 +1,5 @@
name: TITLE
display_name: Title
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title___fieldvalues.yaml
index e085487215f..29f101ca16c 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/title___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PRODUCTS
- TITLE
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- Aerodynamic Bronze Hat
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor.yaml
index 9af956a8a18..de46a7c383e 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor.yaml
@@ -1,6 +1,5 @@
name: VENDOR
display_name: Vendor
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor___fieldvalues.yaml
index beb12c4d3bc..e690b8036c7 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/fields/vendor___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- PRODUCTS
- VENDOR
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- Alfreda Konopelski II Group
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price.yaml
index f0c17ff6379..2c9cbfdac43 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price_2.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price_2.yaml
index 3a7edd22595..430039503b4 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price_2.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_product_price_2.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_widget_price.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_widget_price.yaml
index 3591f7ca3ad..91e609657a2 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_widget_price.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/average_widget_price.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/product_count.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/product_count.yaml
index 3c87a4ee8c6..8dda3ffcc60 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/product_count.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/measures/product_count.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/products.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/products.yaml
index a9e0234b1b3..61cd1b6234b 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/products.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/products.yaml
@@ -1,6 +1,5 @@
name: PRODUCTS
display_name: Products
-created_at: '2024-08-28T14:38:42.774331Z'
db_id: Sample Database
schema: PUBLIC
entity_type: entity/ProductTable
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/premium_widgets.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/premium_widgets.yaml
index 123e82a0153..a4f10c8b196 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/premium_widgets.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/premium_widgets.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/recent_mid_range_products.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/recent_mid_range_products.yaml
index 77f84080ebe..15803ca3e22 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/recent_mid_range_products.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/recent_mid_range_products.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/searchable_products.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/searchable_products.yaml
index a6a74254072..2777cb2ba1c 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/searchable_products.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/searchable_products.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/widget_products.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/widget_products.yaml
index dfa74bb56a8..9f3747ff78d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/widget_products.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/products/segments/widget_products.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T01:50:06.081195Z'
creator_id: [email protected]
definition:
database: Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/body.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/body.yaml
index d330d53240c..28cacd1460d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/body.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/body.yaml
@@ -1,6 +1,5 @@
name: BODY
display_name: Body
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/created_at.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/created_at.yaml
index ced2023d9d0..c1324320695 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/created_at.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/created_at.yaml
@@ -1,6 +1,5 @@
name: CREATED_AT
display_name: Created At
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/id.yaml
index 98d29d5b9a8..ad9e9bb777d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/id.yaml
@@ -1,6 +1,5 @@
name: ID
display_name: ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/product_id.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/product_id.yaml
index 37c9270a20d..266e48b57a1 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/product_id.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/product_id.yaml
@@ -1,6 +1,5 @@
name: PRODUCT_ID
display_name: Product ID
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating.yaml
index cad3f43a1d5..fa46ef616b8 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating.yaml
@@ -1,6 +1,5 @@
name: RATING
display_name: Rating
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating___fieldvalues.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating___fieldvalues.yaml
index a536f42e43d..40fed1368bb 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating___fieldvalues.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/rating___fieldvalues.yaml
@@ -3,9 +3,7 @@ field_id:
- PUBLIC
- REVIEWS
- RATING
-created_at: '2024-08-28T14:38:42.774331Z'
human_readable_values: []
-last_used_at: '2024-08-28T14:38:42.774331Z'
type: full
values:
- 1
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/reviewer.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/reviewer.yaml
index 70aabb6de1e..9fff401cddd 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/reviewer.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/fields/reviewer.yaml
@@ -1,6 +1,5 @@
name: REVIEWER
display_name: Reviewer
-created_at: '2024-08-28T14:38:42.774331Z'
visibility_type: normal
table_id:
- Sample Database
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/reviews.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/reviews.yaml
index fa70dba78a4..1e51271e7b1 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/reviews.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/public/tables/reviews/reviews.yaml
@@ -1,6 +1,5 @@
name: REVIEWS
display_name: Reviews
-created_at: '2024-08-28T14:38:42.774331Z'
db_id: Sample Database
schema: PUBLIC
entity_type: entity/GenericTable
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/daily_order_summary/daily_order_summary.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/daily_order_summary/daily_order_summary.yaml
index ddb9e8aa34c..9794951968d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/daily_order_summary/daily_order_summary.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/daily_order_summary/daily_order_summary.yaml
@@ -1,6 +1,5 @@
name: daily_order_summary
display_name: Daily Order Summary
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hello_world/hello_world.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hello_world/hello_world.yaml
index be3bcd2ca46..0ea756a823e 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hello_world/hello_world.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hello_world/hello_world.yaml
@@ -1,6 +1,5 @@
name: hello_world
display_name: Hello World
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hourly_product_stats/hourly_product_stats.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hourly_product_stats/hourly_product_stats.yaml
index 949b2621b5c..6f65d2bb583 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hourly_product_stats/hourly_product_stats.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/hourly_product_stats/hourly_product_stats.yaml
@@ -1,6 +1,5 @@
name: hourly_product_stats
display_name: Hourly Product Stats
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_order_summary/monthly_order_summary.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_order_summary/monthly_order_summary.yaml
index 7adc4d029e0..594b7d3a434 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_order_summary/monthly_order_summary.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_order_summary/monthly_order_summary.yaml
@@ -1,6 +1,5 @@
name: monthly_order_summary
display_name: Monthly Order Summary
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_sales_summary/monthly_sales_summary.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_sales_summary/monthly_sales_summary.yaml
index 282c971d786..af75e713185 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_sales_summary/monthly_sales_summary.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/monthly_sales_summary/monthly_sales_summary.yaml
@@ -1,6 +1,5 @@
name: monthly_sales_summary
display_name: Monthly Sales Summary
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_revenue_report/product_revenue_report.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_revenue_report/product_revenue_report.yaml
index 423a842ce57..e3f6070f7f6 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_revenue_report/product_revenue_report.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_revenue_report/product_revenue_report.yaml
@@ -1,6 +1,5 @@
name: product_revenue_report
display_name: Product Revenue Report
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_summary/product_summary.yaml b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_summary/product_summary.yaml
index 3285766858e..16a52c2c30d 100644
--- a/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_summary/product_summary.yaml
+++ b/test_resources/serialization_baseline/databases/sample_database/schemas/transforms/tables/product_summary/product_summary.yaml
@@ -1,6 +1,5 @@
name: product_summary
display_name: Product Summary
-created_at: '2026-04-02T03:01:23.703545Z'
db_id: Sample Database
schema: TRANSFORMS
active: false
diff --git a/test_resources/serialization_baseline/embedding_themes/dark.yaml b/test_resources/serialization_baseline/embedding_themes/dark.yaml
index 3bd8d1cedb5..1df7d13f2d7 100644
--- a/test_resources/serialization_baseline/embedding_themes/dark.yaml
+++ b/test_resources/serialization_baseline/embedding_themes/dark.yaml
@@ -1,7 +1,5 @@
-created_at: '2025-11-05T17:34:01.946143Z'
entity_id: cAGrIWAv42Lh6i9Jcpu0J
name: Dark
settings: {}
-updated_at: '2025-11-05T17:34:01.946143Z'
serdes/meta:
- model: EmbeddingTheme
diff --git a/test_resources/serialization_baseline/embedding_themes/light.yaml b/test_resources/serialization_baseline/embedding_themes/light.yaml
index 71b67ffb04d..ef476c5c651 100644
--- a/test_resources/serialization_baseline/embedding_themes/light.yaml
+++ b/test_resources/serialization_baseline/embedding_themes/light.yaml
@@ -1,7 +1,5 @@
-created_at: '2025-11-05T17:34:01.946143Z'
entity_id: WvRp2yy6Tk98WunjkA8aE
name: Light
settings: {}
-updated_at: '2025-11-05T17:34:01.946143Z'
serdes/meta:
- model: EmbeddingTheme
diff --git a/test_resources/serialization_baseline/glossary/foobar.yaml b/test_resources/serialization_baseline/glossary/foobar.yaml
index e238a472157..bf294d5481b 100644
--- a/test_resources/serialization_baseline/glossary/foobar.yaml
+++ b/test_resources/serialization_baseline/glossary/foobar.yaml
@@ -1,4 +1,3 @@
-created_at: '2025-09-18T13:38:26.721389Z'
creator_id: [email protected]
definition: It's foobar2000 actually
entity_id: fooBar2000gLossary001
diff --git a/test_resources/serialization_baseline/metabots/embedded_metabot.yaml b/test_resources/serialization_baseline/metabots/embedded_metabot.yaml
index 6dd6b2f0232..977ff6d8e26 100644
--- a/test_resources/serialization_baseline/metabots/embedded_metabot.yaml
+++ b/test_resources/serialization_baseline/metabots/embedded_metabot.yaml
@@ -1,8 +1,6 @@
name: Embedded Metabot
description: Metabot instance for embedded metabase users.
-created_at: '2026-04-02T02:59:01.370515Z'
entity_id: embeddedmetabotmetabo
-updated_at: '2026-04-02T02:59:01.370515Z'
serdes/meta:
- model: Metabot
prompts: []
diff --git a/test_resources/serialization_baseline/metabots/metabot.yaml b/test_resources/serialization_baseline/metabots/metabot.yaml
index d7aacb729f4..3430e233daf 100644
--- a/test_resources/serialization_baseline/metabots/metabot.yaml
+++ b/test_resources/serialization_baseline/metabots/metabot.yaml
@@ -1,8 +1,6 @@
name: Metabot
description: Metabot instance for internal users.
-created_at: '2025-05-28T17:49:20.649159Z'
entity_id: metabotmetabotmetabot
-updated_at: '2025-05-28T17:49:20.649159Z'
serdes/meta:
- model: Metabot
prompts: []
diff --git a/test_resources/serialization_baseline/python_libraries/common.py.yaml b/test_resources/serialization_baseline/python_libraries/common.py.yaml
index 50b7d5b7d62..333278aee14 100644
--- a/test_resources/serialization_baseline/python_libraries/common.py.yaml
+++ b/test_resources/serialization_baseline/python_libraries/common.py.yaml
@@ -1,6 +1,5 @@
path: common.py
source: ''
entity_id: cWWH9qJPvHNB3rP2vLZrK
-created_at: '2026-04-02T01:50:04.994996Z'
serdes/meta:
- model: PythonLibrary
diff --git a/test_resources/serialization_baseline/python_libraries/shared.py.yaml b/test_resources/serialization_baseline/python_libraries/shared.py.yaml
index b93e29c2455..c90962b5936 100644
--- a/test_resources/serialization_baseline/python_libraries/shared.py.yaml
+++ b/test_resources/serialization_baseline/python_libraries/shared.py.yaml
@@ -3,6 +3,5 @@ source: |-
def helper():
return 42
entity_id: kb0QxR8AyP5W8SVHGYZr8
-created_at: '2026-04-02T02:00:49.163166Z'
serdes/meta:
- model: PythonLibrary
diff --git a/test_resources/serialization_baseline/transforms/transform_jobs/daily_job.yaml b/test_resources/serialization_baseline/transforms/transform_jobs/daily_job.yaml
index 440bcc8d111..487efb1ec7f 100644
--- a/test_resources/serialization_baseline/transforms/transform_jobs/daily_job.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_jobs/daily_job.yaml
@@ -1,5 +1,4 @@
built_in_type: daily
-created_at: '2026-04-02T02:00:48.043249Z'
description: Executes transforms tagged with 'daily' once per day
entity_id: PJahvcoF61oX5T4uCT_FY
job_tags:
diff --git a/test_resources/serialization_baseline/transforms/transform_jobs/hourly_job.yaml b/test_resources/serialization_baseline/transforms/transform_jobs/hourly_job.yaml
index 0454bded3ac..b4d7059f286 100644
--- a/test_resources/serialization_baseline/transforms/transform_jobs/hourly_job.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_jobs/hourly_job.yaml
@@ -1,5 +1,4 @@
built_in_type: hourly
-created_at: '2026-04-02T02:00:48.043249Z'
description: Executes transforms tagged with 'hourly' every hour
entity_id: RognTgBT2fXaxoQh4ws7z
job_tags:
diff --git a/test_resources/serialization_baseline/transforms/transform_jobs/monthly_job.yaml b/test_resources/serialization_baseline/transforms/transform_jobs/monthly_job.yaml
index 74b62158456..63b0aaf0a62 100644
--- a/test_resources/serialization_baseline/transforms/transform_jobs/monthly_job.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_jobs/monthly_job.yaml
@@ -1,5 +1,4 @@
built_in_type: monthly
-created_at: '2026-04-02T01:50:04.843789Z'
description: Executes transforms tagged with 'monthly' once per month
entity_id: CL1TVitmzJrDjdjvO2xmN
job_tags:
diff --git a/test_resources/serialization_baseline/transforms/transform_jobs/nightly_etl_pipeline.yaml b/test_resources/serialization_baseline/transforms/transform_jobs/nightly_etl_pipeline.yaml
index de706fed776..ffd39882f0f 100644
--- a/test_resources/serialization_baseline/transforms/transform_jobs/nightly_etl_pipeline.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_jobs/nightly_etl_pipeline.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:00:49.163166Z'
description: Custom job running nightly-refresh and custom-etl tagged transforms at 2 AM
entity_id: PMlTT2ZjLB2B-C2Hng72Z
job_tags:
diff --git a/test_resources/serialization_baseline/transforms/transform_jobs/weekly_job.yaml b/test_resources/serialization_baseline/transforms/transform_jobs/weekly_job.yaml
index 3c8e99fd4a2..17da65377a3 100644
--- a/test_resources/serialization_baseline/transforms/transform_jobs/weekly_job.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_jobs/weekly_job.yaml
@@ -1,5 +1,4 @@
built_in_type: weekly
-created_at: '2026-04-02T02:00:48.043249Z'
description: Executes transforms tagged with 'weekly' once per week
entity_id: lXIFa2SUrXLgaLZJx33oU
job_tags:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/custom_etl.yaml b/test_resources/serialization_baseline/transforms/transform_tags/custom_etl.yaml
index 082878265ed..f09ada99e98 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/custom_etl.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/custom_etl.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:00:49.163166Z'
entity_id: Z2nTZwFTBUz1Yil8AKrp2
name: custom-etl
serdes/meta:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/daily.yaml b/test_resources/serialization_baseline/transforms/transform_tags/daily.yaml
index 092f06252c7..f723681cbd5 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/daily.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/daily.yaml
@@ -1,5 +1,4 @@
built_in_type: daily
-created_at: '2026-04-02T02:00:48.042904Z'
entity_id: dUW7nvQHQBdA0Rx0gJckI
name: daily
serdes/meta:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/hourly.yaml b/test_resources/serialization_baseline/transforms/transform_tags/hourly.yaml
index 01421d55bb8..e658acdd914 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/hourly.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/hourly.yaml
@@ -1,5 +1,4 @@
built_in_type: hourly
-created_at: '2026-04-02T02:00:48.042904Z'
entity_id: wYLcUPbtF7jVPO0duGGHR
name: hourly
serdes/meta:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/monthly.yaml b/test_resources/serialization_baseline/transforms/transform_tags/monthly.yaml
index 094302c4920..f502f7fb337 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/monthly.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/monthly.yaml
@@ -1,5 +1,4 @@
built_in_type: monthly
-created_at: '2026-04-02T02:00:48.042904Z'
entity_id: DeeJHc81qKhD9qWINISO8
name: monthly
serdes/meta:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/nightly_refresh.yaml b/test_resources/serialization_baseline/transforms/transform_tags/nightly_refresh.yaml
index 42730146bd4..76ccebc1152 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/nightly_refresh.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/nightly_refresh.yaml
@@ -1,4 +1,3 @@
-created_at: '2026-04-02T02:00:49.163166Z'
entity_id: 1uWng5tP1gyxr44PJ5FPb
name: nightly-refresh
serdes/meta:
diff --git a/test_resources/serialization_baseline/transforms/transform_tags/weekly.yaml b/test_resources/serialization_baseline/transforms/transform_tags/weekly.yaml
index 3fbbbfe7b02..77a92870537 100644
--- a/test_resources/serialization_baseline/transforms/transform_tags/weekly.yaml
+++ b/test_resources/serialization_baseline/transforms/transform_tags/weekly.yaml
@@ -1,5 +1,4 @@
built_in_type: weekly
-created_at: '2026-04-02T02:00:48.042904Z'
entity_id: qPGCJu7t97kn-X07_fgSj
name: weekly
serdes/meta:
diff --git a/test_resources/yaml_checks/collections/cards/native-orders_native_orders.yaml b/test_resources/yaml_checks/collections/cards/native-orders_native_orders.yaml
index bc67d6d9905..96b08585401 100644
--- a/test_resources/yaml_checks/collections/cards/native-orders_native_orders.yaml
+++ b/test_resources/yaml_checks/collections/cards/native-orders_native_orders.yaml
@@ -1,7 +1,6 @@
name: Native Orders
description: A native SQL query
entity_id: native-orders
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
display: table
archived: false
@@ -69,9 +68,7 @@ visualization_settings:
column_settings: null
card_schema: 23
serdes/meta:
-- id: native-orders
- label: native_orders
- model: Card
+- model: Card
archived_directly: false
dashboard_id: null
document_id: null
diff --git a/test_resources/yaml_checks/collections/cards/orders-with-fk_orders_with_fk.yaml b/test_resources/yaml_checks/collections/cards/orders-with-fk_orders_with_fk.yaml
index 4cd56b57269..4c46b1bf36d 100644
--- a/test_resources/yaml_checks/collections/cards/orders-with-fk_orders_with_fk.yaml
+++ b/test_resources/yaml_checks/collections/cards/orders-with-fk_orders_with_fk.yaml
@@ -1,7 +1,6 @@
name: Orders With FK
description: Query with FK in result_metadata
entity_id: orders-with-fk
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
display: table
archived: false
@@ -60,7 +59,5 @@ result_metadata:
name: user_id
semantic_type: type/FK
serdes/meta:
-- id: orders-with-fk
- label: orders_with_fk
- model: Card
+- model: Card
type: question
diff --git a/test_resources/yaml_checks/collections/cards/orders-with-products_orders_with_products.yaml b/test_resources/yaml_checks/collections/cards/orders-with-products_orders_with_products.yaml
index 4f03f128b5f..779bbea068d 100644
--- a/test_resources/yaml_checks/collections/cards/orders-with-products_orders_with_products.yaml
+++ b/test_resources/yaml_checks/collections/cards/orders-with-products_orders_with_products.yaml
@@ -1,7 +1,6 @@
name: Orders With Products
description: Orders joined with products table
entity_id: orders-with-products
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
display: table
archived: false
@@ -185,9 +184,7 @@ visualization_settings:
column_settings: null
card_schema: 23
serdes/meta:
-- id: orders-with-products
- label: orders_with_products
- model: Card
+- model: Card
archived_directly: false
dashboard_id: null
document_id: null
diff --git a/test_resources/yaml_checks/collections/cards/schemaless-query_schemaless_query.yaml b/test_resources/yaml_checks/collections/cards/schemaless-query_schemaless_query.yaml
index 18555cd1930..0e695f282df 100644
--- a/test_resources/yaml_checks/collections/cards/schemaless-query_schemaless_query.yaml
+++ b/test_resources/yaml_checks/collections/cards/schemaless-query_schemaless_query.yaml
@@ -1,7 +1,6 @@
name: Schemaless Query
description: Query on schema-less SQLite database
entity_id: schemaless-query
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
display: table
archived: false
@@ -55,7 +54,5 @@ result_metadata:
name: name
semantic_type: type/Name
serdes/meta:
-- id: schemaless-query
- label: schemaless_query
- model: Card
+- model: Card
type: question
diff --git a/test_resources/yaml_checks/collections/cards/simple-orders_simple_orders.yaml b/test_resources/yaml_checks/collections/cards/simple-orders_simple_orders.yaml
index cc209b395f4..8f45b7aad7f 100644
--- a/test_resources/yaml_checks/collections/cards/simple-orders_simple_orders.yaml
+++ b/test_resources/yaml_checks/collections/cards/simple-orders_simple_orders.yaml
@@ -1,7 +1,6 @@
name: Simple Orders
description: A simple query on orders table
entity_id: simple-orders
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
display: table
archived: false
@@ -141,9 +140,7 @@ visualization_settings:
column_settings: null
card_schema: 23
serdes/meta:
-- id: simple-orders
- label: simple_orders
- model: Card
+- model: Card
archived_directly: false
dashboard_id: null
document_id: null
diff --git a/test_resources/yaml_checks/databases/SQLite DB/SQLite DB.yaml b/test_resources/yaml_checks/databases/SQLite DB/SQLite DB.yaml
index bd75c443074..b101f8422ab 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/SQLite DB.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/SQLite DB.yaml
@@ -1,7 +1,5 @@
name: SQLite DB
engine: sqlite
-created_at: '2026-01-01T00:00:00.000000Z'
settings: null
serdes/meta:
-- id: SQLite DB
- model: Database
+- model: Database
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/id.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/id.yaml
index ce712c02f93..9c563c1dc4c 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/id.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/id.yaml
@@ -1,7 +1,6 @@
name: id
display_name: ID
description: Primary key
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,12 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: orders
- model: Table
-- id: id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/user_id.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/user_id.yaml
index e538bd53d30..6045d5b56b9 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/user_id.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/fields/user_id.yaml
@@ -1,7 +1,6 @@
name: user_id
display_name: User ID
description: Foreign key to users table
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -32,12 +31,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: orders
- model: Table
-- id: user_id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/orders.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/orders.yaml
index 9e6bd0b675e..7096937a7f8 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/orders.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/orders.yaml
@@ -1,13 +1,9 @@
name: orders
display_name: Orders
description: Orders table
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: null
schema: null
db_id: SQLite DB
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: orders
- model: Table
+- model: Table
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/segments/recent_orders.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/segments/recent_orders.yaml
index 4e44ec6479a..afb3fcaca12 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/orders/segments/recent_orders.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/orders/segments/recent_orders.yaml
@@ -17,5 +17,4 @@ definition:
lib/type: mbql.stage/mbql
lib/type: mbql/query
serdes/meta:
-- id: recent-orders-segment
- model: Segment
+- model: Segment
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/id.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/id.yaml
index f76207ea4bb..66617dec1ee 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/id.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/id.yaml
@@ -1,7 +1,6 @@
name: id
display_name: ID
description: Primary key
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,12 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: users
- model: Table
-- id: id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/name.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/name.yaml
index 79951f8739d..0b39b4ea0f1 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/name.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/users/fields/name.yaml
@@ -1,7 +1,6 @@
name: name
display_name: Name
description: User name
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,12 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: users
- model: Table
-- id: name
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/SQLite DB/tables/users/users.yaml b/test_resources/yaml_checks/databases/SQLite DB/tables/users/users.yaml
index 090f0d17259..a47ec1108b0 100644
--- a/test_resources/yaml_checks/databases/SQLite DB/tables/users/users.yaml
+++ b/test_resources/yaml_checks/databases/SQLite DB/tables/users/users.yaml
@@ -1,13 +1,9 @@
name: users
display_name: Users
description: User accounts table
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: null
schema: null
db_id: SQLite DB
serdes/meta:
-- id: SQLite DB
- model: Database
-- id: users
- model: Table
+- model: Table
diff --git a/test_resources/yaml_checks/databases/Test Database/Test Database.yaml b/test_resources/yaml_checks/databases/Test Database/Test Database.yaml
index fce6f68cae9..aa70e58a11f 100644
--- a/test_resources/yaml_checks/databases/Test Database/Test Database.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/Test Database.yaml
@@ -7,7 +7,6 @@ dbms_version:
semantic-version:
- 2
- 1
-created_at: '2026-01-01T00:00:00.000000Z'
creator_id: [email protected]
timezone: UTC
auto_run_queries: true
@@ -24,8 +23,7 @@ caveats: null
points_of_interest: null
initial_sync_status: complete
serdes/meta:
-- id: Test Database
- model: Database
+- model: Database
provider_name: null
router_database_id: null
uploads_enabled: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/created_at.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/created_at.yaml
index cbdbf30596f..80b3b0caf80 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/created_at.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/created_at.yaml
@@ -1,7 +1,6 @@
name: created_at
display_name: Created At
description: When the order was created
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: orders
- model: Table
-- id: created_at
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/id.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/id.yaml
index efd8495fcfc..beefee3feb2 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/id.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/id.yaml
@@ -1,7 +1,6 @@
name: id
display_name: ID
description: Primary key for orders
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: orders
- model: Table
-- id: id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/product_id.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/product_id.yaml
index cb903389f3c..2a3dbff49ae 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/product_id.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/product_id.yaml
@@ -1,7 +1,6 @@
name: product_id
display_name: Product ID
description: Foreign key to products table
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -32,14 +31,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: orders
- model: Table
-- id: product_id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/total.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/total.yaml
index 061d035c4b9..6facf498850 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/total.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/fields/total.yaml
@@ -1,7 +1,6 @@
name: total
display_name: Total
description: Order total amount
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: orders
- model: Table
-- id: total
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/measures/total_revenue.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/measures/total_revenue.yaml
index 09908d42fa7..4ceb108e113 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/measures/total_revenue.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/measures/total_revenue.yaml
@@ -16,5 +16,4 @@ definition:
lib/type: mbql.stage/mbql
lib/type: mbql/query
serdes/meta:
-- id: total-revenue-measure
- model: Measure
+- model: Measure
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/orders.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/orders.yaml
index 6fb5c39a56f..e1eb2aa9cd2 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/orders.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/orders.yaml
@@ -1,7 +1,6 @@
name: orders
display_name: Orders
description: Order transactions table
-created_at: '2026-01-01T00:00:00.000000Z'
db_id: Test Database
schema: public
entity_type: entity/TransactionTable
@@ -14,19 +13,12 @@ initial_sync_status: complete
points_of_interest: null
caveats: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: orders
- model: Table
-archived_at: null
+- model: Table
collection_id: null
data_authority: unconfigured
data_layer: internal
data_source: null
database_require_filter: null
-deactivated_at: null
is_published: false
is_writable: true
owner_email: null
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/segments/big_orders.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/segments/big_orders.yaml
index bfec8397f15..3c3cf2c89d9 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/segments/big_orders.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/orders/segments/big_orders.yaml
@@ -17,5 +17,4 @@ definition:
lib/type: mbql.stage/mbql
lib/type: mbql/query
serdes/meta:
-- id: big-orders-segment
- model: Segment
+- model: Segment
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/id.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/id.yaml
index 04fe3bd2ed2..d23dcdb3d9a 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/id.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/id.yaml
@@ -1,7 +1,6 @@
name: id
display_name: ID
description: Primary key for products
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: products
- model: Table
-- id: id
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/price.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/price.yaml
index 76509ca9170..c75b78b542f 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/price.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/price.yaml
@@ -1,7 +1,6 @@
name: price
display_name: Price
description: Product price
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: products
- model: Table
-- id: price
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/title.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/title.yaml
index c3d71e7f9ca..e6f97635704 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/title.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/fields/title.yaml
@@ -1,7 +1,6 @@
name: title
display_name: Title
description: Product title
-created_at: '2026-01-01T00:00:00.000000Z'
active: true
visibility_type: normal
table_id:
@@ -28,14 +27,7 @@ caveats: null
points_of_interest: null
nfc_path: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: products
- model: Table
-- id: title
- model: Field
+- model: Field
database_default: null
database_indexed: null
database_is_generated: false
diff --git a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/products.yaml b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/products.yaml
index 1c541117070..f19c73e7669 100644
--- a/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/products.yaml
+++ b/test_resources/yaml_checks/databases/Test Database/schemas/public/tables/products/products.yaml
@@ -1,7 +1,6 @@
name: products
display_name: Products
description: Product catalog
-created_at: '2026-01-01T00:00:00.000000Z'
db_id: Test Database
schema: public
entity_type: entity/ProductTable
@@ -14,19 +13,12 @@ initial_sync_status: complete
points_of_interest: null
caveats: null
serdes/meta:
-- id: Test Database
- model: Database
-- id: public
- model: Schema
-- id: products
- model: Table
-archived_at: null
+- model: Table
collection_id: null
data_authority: unconfigured
data_layer: internal
data_source: null
database_require_filter: null
-deactivated_at: null
is_published: false
is_writable: true
owner_email: null