Back to Schema

Database Tables

Connected

Database Overview

58
Total Tables
Online
Connection Status
canaccom
Database Name

Table: rooming_card_access_tokens

0 rows

Structure

Field Type Null Key Default Extra
id int NO PRI NULL auto_increment
booking_id int NO MUL NULL
recipient_email varchar(320) NO NULL
token_hash char(64) NO UNI NULL
pin_hash char(64) NO NULL
expires_at datetime NO MUL NULL
max_views smallint unsigned NO 1
view_count smallint unsigned NO 0
last_viewed_at datetime YES NULL
revoked_at datetime YES NULL
created_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED
updated_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED on update CURRENT_TIMESTAMP