Skip to content
Louvre Ops DB

Table

entry_scan

Every entrance scan; only the first of the day records how the visitor travelled.

Replaces in 2020: Entrance, Ticket.Transportation

Rows 1,401–1,425 of 9,738

entry_scan, page 57 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
1401138012015-12-07 12:06:361Bus
1402137712015-12-07 12:06:421Bus
1403138312015-12-07 12:06:451Bus
1404138412015-12-07 12:06:501Bus
1405138512015-12-07 12:06:551Bus
1406138612015-12-07 12:07:121Bus
1407139412015-12-07 12:07:201Bus
1408138112015-12-07 12:07:241Bus
1409139112015-12-07 12:07:251Bus
1410138212015-12-07 12:07:281Bus
1411139212015-12-07 12:07:301Bus
1412139912015-12-07 12:07:401Bus
1413139012015-12-07 12:07:521Bus
1414140312015-12-07 12:07:561Bus
1415138712015-12-07 12:07:571Bus
1416140412015-12-07 12:08:001Bus
1417140512015-12-07 12:08:041Bus
1418140012015-12-07 12:08:101Bus
1419139612015-12-07 12:08:121Bus
1420141112015-12-07 12:08:281Bus
1421140112015-12-07 12:08:421Bus
1422138812015-12-07 12:08:481Bus
1423138912015-12-07 12:09:001Bus
1424139512015-12-07 12:09:301Bus
1425140712015-12-07 12:09:511Bus
Table definition
CREATE TABLE entry_scan (
  scan_id        INTEGER PRIMARY KEY,
  ticket_id      INTEGER NOT NULL REFERENCES ticket (ticket_id),
  entrance_id    INTEGER NOT NULL REFERENCES entrance (entrance_id),
  scanned_at     TEXT NOT NULL,
  is_first_entry INTEGER NOT NULL CHECK (is_first_entry IN (0, 1)),
  transport_mode TEXT CHECK (transport_mode IN ('Walk', 'Metro', 'Train', 'Bus', 'Taxi', 'Private Vehicle', 'Other')),
  CHECK ((is_first_entry = 1) = (transport_mode IS NOT NULL))
) STRICT;