Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,651–8,675 of 9,842

ticket, page 347 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
865130086514653314693
865230086522889834695
865330086537410414695
865430086546201624698
865530086553461464699
865630086569965984701
865730086579941764701
865830086583718704701
865930086590111534703
866030086606839914703
866130086614382404703
866230086623289224703
866330086636023534704
866430086644444904704
866530086659247554706
866630086663826334706
866730086673449074706
866830086681944524706
866930086691153064707
867030086706959724708
867130086711895154708
867230086725480904708
867330086736558884709
867430086745008344711
867530086755392114711
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;