fad06fd
use sea_orm::entity::prelude::*;
use uuid::Uuid;
#[sea_orm::model]
#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)]
#[sea_orm(table_name = "ci_workflow_counter")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub repo_id: Uuid,
#[sea_orm(primary_key, auto_increment = false)]
pub workflow_file: String,
pub last_number: i64,
}
impl ActiveModelBehavior for ActiveModel {}