Feature lock the macro

This commit is contained in:
Quat3rnion 2024-06-18 05:24:42 -04:00
parent 06b4dc3abd
commit 77004abcfa
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ bitflags! {
/// ///
/// # Reference /// # Reference
/// See <https://docs.spacebar.chat/setup/server/security/rights/> /// See <https://docs.spacebar.chat/setup/server/security/rights/>
#[derive(Debug, Clone, Copy, Eq, PartialEq, chorus_macros::SqlxBitFlags)] #[derive(Debug, Clone, Copy, Eq, PartialEq)]
#[cfg_attr(feature = "sqlx", derive(chorus_macros::SqlxBitFlags))]
pub struct Rights: u64 { pub struct Rights: u64 {
/// All rights /// All rights
const OPERATOR = 1 << 0; const OPERATOR = 1 << 0;