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