Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,751–2,775 of 9,842

ticket, page 111 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
275130027514218761545
275230027522599711546
275330027531462921547
275430027548627951547
275530027554946211549
275630027562509751549
275730027571275241549
275830027580803131549
275930027598745881549
276030027605272541550
276130027614487021552
276230027621818421552
276330027636824091552
276430027646723671552
276530027655671881552
276630027669054441553
276730027672682021554
276830027683784031554
276930027691354251556
277030027709251111557
277130027718911431557
277230027724321061557
277330027730857981557
277430027743892761558
277530027753062841558
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;