blob: 546df9bbc5f0829ab3e61ac6bb7f5649cd0b3be9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use diesel::prelude::*;
#[derive(Identifiable, Queryable, Associations)]
#[belongs_to(Job)]
pub struct Artifact {
pub id: i32,
pub path: String,
pub released: bool,
pub job_id: i32,
}
|