Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,001–2,025 of 9,842

ticket, page 81 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
200130020015713341095
200230020023170281095
200330020039635901095
200430020049437611095
200530020059996851095
200630020061214341097
200730020071622051099
200830020081503011100
200930020092833501100
201030020107183131100
201130020119554481100
201230020120719671101
201330020137977281103
201430020147904811103
201530020153843711103
201630020168167401103
201730020171147971103
201830020189728401104
201930020190780901104
202030020204727591104
202130020212834881105
202230020223213321105
202330020230886471109
202430020247144161109
202530020259426411115
Table definition
CREATE TABLE ticket (
  ticket_id INTEGER PRIMARY KEY,
  barcode   TEXT NOT NULL UNIQUE CHECK (length(barcode) = 13 AND barcode NOT GLOB '*[^0-9]*'),
  order_id  INTEGER NOT NULL REFERENCES purchase_order (order_id)
) STRICT;