Skip to content

Refactor queue invite codes #92

@SMore-Napi

Description

@SMore-Napi

Move queue pin and qr codes to the new table since they are null most of the time in the queue table.
Table invite_codes(queue_id, token, code_type, created_at, expires_at)

  • token stores QR code or PIN code value
  • code_type represents the enum: PIN, QR
  • when joining the queue by invitation code check whether its expires_at date time is not expired

Metadata

Metadata

Assignees

Labels

techTech task. Internal changes in project

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions