mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 17:03:59 +00:00
11 lines
340 B
Rust
11 lines
340 B
Rust
#[cfg(feature = "full")]
|
|
use crate::schema::secret;
|
|
|
|
#[derive(Clone)]
|
|
#[cfg_attr(feature = "full", derive(Queryable, Selectable, Identifiable))]
|
|
#[cfg_attr(feature = "full", diesel(table_name = secret))]
|
|
#[cfg_attr(feature = "full", diesel(check_for_backend(diesel::pg::Pg)))]
|
|
pub struct Secret {
|
|
pub id: i32,
|
|
pub jwt_secret: String,
|
|
}
|