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
Move queue pin and qr codes to the new table since they are null most of the time in the
queuetable.Table
invite_codes(queue_id,token,code_type,created_at,expires_at)tokenstores QR code or PIN code valuecode_typerepresents the enum:PIN,QRexpires_atdate time is not expired