From 98249cb7ebbb98d9e1e2ef1dd2804ce1e04a3f8c Mon Sep 17 00:00:00 2001 From: Joana Maia Date: Thu, 11 Jun 2026 15:55:43 +0100 Subject: [PATCH] fix: repos datasource Signed-off-by: Joana Maia --- services/libs/tinybird/datasources/repos.datasource | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/libs/tinybird/datasources/repos.datasource b/services/libs/tinybird/datasources/repos.datasource index 2d38863312..1c4cc0d10b 100644 --- a/services/libs/tinybird/datasources/repos.datasource +++ b/services/libs/tinybird/datasources/repos.datasource @@ -18,7 +18,7 @@ DESCRIPTION > - `archived` is 1 if the repository is archived, 0 if not, NULL until the GitHub enricher runs (deps.dev seed does not expose this). - `disabled` is 1 if the repository is disabled, 0 if not, NULL until the GitHub enricher runs. - `isFork` is 1 if this repository is a fork of another, 0 if not, NULL until the GitHub enricher runs. - - `createdAt` is the repository creation date on GitHub/GitLab — a domain timestamp, not a row-insert timestamp. + - `createdAt` is the row-insert timestamp — set once on first insert via DEFAULT NOW(), never updated. - `homepage` is the project homepage URL (empty string if not provided). - `rawProjectType` is the deps.dev project type string (e.g. 'GITHUB', 'GITLAB') for identity resolution. - `rawProjectName` is the deps.dev project name (e.g. 'github.com/owner/repo') for identity resolution. @@ -45,7 +45,7 @@ SCHEMA > `archived` Nullable(UInt8) `json:$.record.archived`, `disabled` Nullable(UInt8) `json:$.record.disabled`, `isFork` Nullable(UInt8) `json:$.record.is_fork`, - `createdAt` Nullable(DateTime64(3)) `json:$.record.created_at`, + `createdAt` DateTime64(3) `json:$.record.created_at`, `homepage` String `json:$.record.homepage` DEFAULT '', `rawProjectType` String `json:$.record.raw_project_type` DEFAULT '', `rawProjectName` String `json:$.record.raw_project_name` DEFAULT '',