feat: init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct RepoPushCommit {
|
||||
pub id: Uuid,
|
||||
pub repo_id: Uuid,
|
||||
pub pusher_id: Uuid,
|
||||
pub branch_name: String,
|
||||
pub old_commit_sha: Option<String>,
|
||||
pub latest_commit_sha: String,
|
||||
pub commit_shas: Vec<String>,
|
||||
pub commit_count: i32,
|
||||
pub push_status: String,
|
||||
pub pushed_at: DateTime<Utc>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user