fix instance selectable

This commit is contained in:
phiresky 2023-08-26 12:55:05 +00:00
parent 49fa1b2a58
commit 68b69eecb3

View file

@ -10,8 +10,8 @@ use ts_rs::TS;
use typed_builder::TypedBuilder;
#[skip_serializing_none]
#[derive(Clone, PartialEq, Eq, Debug, Serialize, Deserialize, Selectable)]
#[cfg_attr(feature = "full", derive(Queryable, Identifiable, TS))]
#[derive(Clone, PartialEq, Eq, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "full", derive(Queryable, Selectable, Identifiable, TS))]
#[cfg_attr(feature = "full", diesel(table_name = instance))]
#[cfg_attr(feature = "full", ts(export))]
/// A federated instance / site.