diff options
| author | Tolmachev Igor <me@igorek.dev> | 2025-10-22 17:00:28 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2025-10-22 17:00:28 +0300 |
| commit | e864d2653d50ba1c920776aaa14a1625c9fc9da4 (patch) | |
| tree | 4e4089d3fc249f9b4a64a9866b48a0e1f5de844b /entity/src | |
| parent | 67ed4e6bb82ac2645f9b7a014a8d635d7b80e821 (diff) | |
| download | queue_server-e864d2653d50ba1c920776aaa14a1625c9fc9da4.tar.gz queue_server-e864d2653d50ba1c920776aaa14a1625c9fc9da4.zip | |
Add invite tokens
Diffstat (limited to 'entity/src')
| -rw-r--r-- | entity/src/invite_tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/src/invite_tokens.rs b/entity/src/invite_tokens.rs index c0b59f7..51f09ff 100644 --- a/entity/src/invite_tokens.rs +++ b/entity/src/invite_tokens.rs | |||
| @@ -10,7 +10,7 @@ pub struct Model { | |||
| 10 | pub token: Uuid, | 10 | pub token: Uuid, |
| 11 | pub queue_id: i64, | 11 | pub queue_id: i64, |
| 12 | pub name: String, | 12 | pub name: String, |
| 13 | pub is_revoked: bool, | 13 | pub expiration_date: Option<DateTime>, |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] | 16 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] |
