Skip to content

Commit f797b4a

Browse files
committed
update schemas
1 parent 05d0549 commit f797b4a

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

tinybird/datasources/gitlab_emoji.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ TAGS "gitlab"
77
SCHEMA >
88
`object_kind` String `json:$.object_kind`,
99
`event_type` String `json:$.event_type`,
10-
`user_id` String `json:$.user.id`,
10+
`user_id` UInt32 `json:$.user.id`,
1111
`user` JSON `json:$.user`,
12-
`project_id` String `json:$.project.id`,
12+
`project_id` UInt32 `json:$.project.id`,
1313
`project` JSON `json:$.project`,
1414
`object_attributes` JSON `json:$.object_attributes`,
1515
`note` JSON `json:$.note` DEFAULT '{}',

tinybird/datasources/gitlab_job.datasource

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCHEMA >
1010
`tag` Boolean `json:$.tag` DEFAULT 'false',
1111
`before_sha` String `json:$.before_sha` DEFAULT '',
1212
`sha` String `json:$.sha` DEFAULT '',
13-
`build_id` String `json:$.build_id` DEFAULT '',
13+
`build_id` UInt32 `json:$.build_id` DEFAULT '',
1414
`build_name` String `json:$.build_name` DEFAULT '',
1515
`build_stage` String `json:$.build_stage` DEFAULT '',
1616
`build_status` String `json:$.build_status` DEFAULT '',
@@ -22,10 +22,10 @@ SCHEMA >
2222
`build_allow_failure` Boolean `json:$.build_allow_failure` DEFAULT false,
2323
`build_failure_reason` String `json:$.build_failure_reason` DEFAULT '',
2424
`retries_count` Int32 `json:$.retries_count` DEFAULT 0,
25-
`pipeline_id` String `json:$.pipeline_id` DEFAULT '',
26-
`project_id` String `json:$.project_id`,
25+
`pipeline_id` UInt32 `json:$.pipeline_id` DEFAULT '',
26+
`project_id` UInt32 `json:$.project_id`,
2727
`project_name` String `json:$.project_name`,
28-
`user_id` String `json:$.user.id`,
28+
`user_id` UInt32 `json:$.user.id`,
2929
`user` JSON `json:$.user`,
3030
`commit` JSON `json:$.commit` DEFAULT '{}',
3131
`repository_name` String `json:$.repository.name`,

tinybird/datasources/gitlab_merge_request.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ TAGS "gitlab"
77
SCHEMA >
88
`object_kind` String `json:$.object_kind`,
99
`event_type` String `json:$.event_type`,
10-
`user_id` String `json:$.user.id`,
10+
`user_id` UInt32 `json:$.user.id`,
1111
`user` JSON `json:$.user`,
12-
`project_id` String `json:$.project.id`,
12+
`project_id` UInt32 `json:$.project.id`,
1313
`project` JSON `json:$.project`,
1414
`object_attributes` JSON `json:$.object_attributes`,
1515
`repository_name` String `json:$.repository.name`,

tinybird/datasources/gitlab_pipeline.datasource

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ SCHEMA >
88
`object_kind` String `json:$.object_kind`,
99
`object_attributes` JSON `json:$.object_attributes`,
1010
`merge_request` JSON `json:$.merge_request` DEFAULT '{}',
11-
`user_id` String `json:$.user.id`,
11+
`user_id` UInt32 `json:$.user.id`,
1212
`user` JSON `json:$.user`,
13-
`project_id` String `json:$.project.id`,
13+
`project_id` UInt32 `json:$.project.id`,
1414
`project` JSON `json:$.project`,
1515
`commit` JSON `json:$.commit` DEFAULT '{}',
16-
`pipeline_id` String `json:$.source_pipeline.pipeline_id`,
16+
`pipeline_id` UInt32 `json:$.source_pipeline.pipeline_id`,
1717
`source_pipeline` JSON `json:$.source_pipeline` DEFAULT '{}',
1818
`builds` Array(JSON) `json:$.builds[:]` DEFAULT '[]'
1919

tinybird/datasources/gitlab_push.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ SCHEMA >
1212
`ref` String `json:$.ref`,
1313
`ref_protected` Boolean `json:$.ref_protected`,
1414
`checkout_sha` String `json:$.checkout_sha`,
15-
`user_id` String `json:$.user_id`,
15+
`user_id` UInt32 `json:$.user_id`,
1616
`user_name` String `json:$.user_name`,
1717
`user_username` String `json:$.user_username`,
1818
`user_email` String `json:$.user_email`,
1919
`user_avatar` String `json:$.user_avatar`,
20-
`project_id` String `json:$.project_id`,
20+
`project_id` UInt32 `json:$.project_id`,
2121
`project` JSON `json:$.project` DEFAULT '{}',
2222
`repository_name` String `json:$.repository.name`,
2323
`repository` JSON `json:$.repository` DEFAULT '{}',

tinybird/datasources/gitlab_work_item.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ TAGS "gitlab"
77
SCHEMA >
88
`object_kind` String `json:$.object_kind`,
99
`event_type` String `json:$.event_type`,
10-
`user_id` String `json:$.user.id`,
10+
`user_id` UInt32 `json:$.user.id`,
1111
`user` JSON `json:$.user`,
12-
`project_id` String `json:$.project.id`,
12+
`project_id` UInt32 `json:$.project.id`,
1313
`project` JSON `json:$.project`,
1414
`object_attributes` JSON `json:$.object_attributes`,
1515
`repository_name` String `json:$.repository.name`,

0 commit comments

Comments
 (0)