Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,301–4,325 of 9,842

ticket, page 173 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
430130043013362202386
430230043027003412386
430330043033363502387
430430043044579852387
430530043059330622388
430630043064081512389
430730043074720422389
430830043089188892390
430930043099069702391
431030043101953442392
431130043114611432393
431230043125380962393
431330043137759872396
431430043149445122398
431530043158310832398
431630043163448502400
431730043179939932401
431830043185734542401
431930043194948342402
432030043209069062402
432130043214849712403
432230043221496392403
432330043231778412404
432430043246086922407
432530043251533602408
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;