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

11 lines
249 B
Rust
Raw Normal View History

#[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,
}