Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,176–9,200 of 9,842

ticket, page 368 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
917630091760892904957
917730091772304854958
917830091780595834958
917930091799570864959
918030091809144054962
918130091816557484962
918230091829182654964
918330091830580064964
918430091844484744967
918530091858405094967
918630091868234574967
918730091871028534967
918830091883943884967
918930091896809034967
919030091903783604967
919130091913815764967
919230091928197154967
919330091936757884967
919430091944413394967
919530091955066714967
919630091967164284967
919730091979570984967
919830091988998254967
919930091993017884967
920030092003402864967
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;