cursor_origin_pulls
Details about the pull requests in your Cursor Origin repositories.
| Column | Type | Description |
|---|---|---|
|
id
Primary key
|
number | Unique identifier for the row. |
|
repository_id
Foreign key
|
number |
ID of the repository this pull request belongs to.
References
|
|
source_id
|
string | Cursor Origin ID of the pull request. |
|
number
|
string | Number of the pull request within its repository. |
|
title
|
string | Title of the pull request. |
|
state
|
string | State of the pull request. |
|
draft
|
boolean | Boolean indicating whether the pull request is a draft. |
|
user_id
Foreign key
|
number |
ID of the user who authored the pull request.
References
|
|
head_ref
|
string | Name of the pull request's head branch. |
|
head_sha
|
string | SHA of the pull request's head commit. |
|
base_ref
|
string | Name of the pull request's base branch. |
|
base_sha
|
string | SHA of the pull request's base commit. |
|
merge_commit_sha
|
string | SHA of the merge commit, if merged. |
|
additions
|
number | Number of lines added by the pull request. |
|
deletions
|
number | Number of lines removed by the pull request. |
|
changed_files
|
number | Number of files changed by the pull request. |
|
source_url
|
string | URL directly to the pull request in Cursor Origin. |
|
created_at
|
date | Timestamp of when the pull request was created. |
|
updated_at
|
date | Timestamp of when the pull request was last updated. |
|
merged_at
|
date | Timestamp of when the pull request was merged, if merged. |
|
closed_at
|
date | Timestamp of when the pull request was closed, if closed. |
|
ready_for_review
|
date | Date at which the pull request was marked as ready-for-review (i.e., converted from draft state). |
|
open_to_merge
|
number | Time difference in seconds between the pull request being merged and being created. When "ready-for-review" is used, the calculation is instead the difference between the merge and the pull request being marked as "ready-for-review". |
|
open_to_first_review
|
number | Time difference in seconds between the first review being submitted and the pull request being created. When "ready-for-review" is used, the calculation is instead the difference between the first review being submitted and the pull request being marked as "ready-for-review". |
|
open_to_first_approval
|
number | Time difference in seconds between a pull request being approved and being created. |
|
row_created_at
DX internal
|
date | When DX created this database row. |
|
row_updated_at
DX internal
|
date | When DX last updated this database row. |