gerrit_changes

Details about Gerrit changes (pull requests).

id

Primary key
Unique identifier for the row.

source_id

Foreign key
Gerrit change ID.

number

number
Gerrit change number.

project_id

Foreign key
ID of the Gerrit project.

title

string
Title of the change.

status

string
Status of the change (e.g., NEW, MERGED, ABANDONED).

user_id

Foreign key
ID of the user who created the change.

additions

number
Number of lines added in the change.

deletions

number
Number of lines deleted in the change.

chain_size

number
Number of changes in the chain.

draft

boolean
Whether the change is in draft mode.

merged_at

date
Timestamp when the change was merged.

ready_for_review

date
Timestamp when the change was marked ready for review.

open_to_merge

number
Time in seconds the change was open to merge.

open_to_first_review

number
Time in seconds the change was open to first review.

open_to_first_approval

number
Time in seconds the change was open to first approval.

source_url

string
URL directly to the change in Gerrit.

revert_of

number
ID of the change this change reverts.

merge_commit_sha

string
SHA of the merge commit.

source_branch

string
Source branch name of the change.

target_branch

string
Target branch name of the change.

closed_at

date
Timestamp when the change was closed.

created_at

date
Timestamp when the change was created.

updated_at

date
Timestamp when the change was last updated.