| 225 | #[diesel(belongs_to(GitHubRepo, foreign_key = id))] |
| 226 | #[diesel(table_name = github_commit)] |
| 227 | pub struct GitHubCommit { |
| 228 | pub id: uuid::Uuid, |
| 229 | pub rev: String, |
| 230 | #[diesel(column_name = git_ref)] |
| 231 | pub r#ref: String, |
| 232 | pub repo_id: i64, |
| 233 | pub author: String, |
| 234 | pub message: String, |
| 235 | } |
| 236 | |
| 237 | impl GitHubCommit { |
| 238 | pub async fn create_job( |
nothing calls this directly
no outgoing calls
no test coverage detected