lemmy/crates/db_schema/src/source/secret.rs

10 lines
249 B
Rust

#[cfg(feature = "full")]
use crate::schema::secret;
#[derive(Clone)]
#[cfg_attr(feature = "full", derive(Queryable, Identifiable))]
#[cfg_attr(feature = "full", table_name = "secret")]
pub struct Secret {
pub id: i32,
pub jwt_secret: String,
}