Skip to content
Louvre Ops DB

Table

payment

One row per payment; the method is a single column.

Replaces in 2020: Payment Methods

Rows 2,551–2,575 of 5,412

payment, page 103 of 217
payment_idINTEGERmethodTEXTamount_centsINTEGERpaid_atTEXT
2551credit_card8002017-09-13 10:34:17
2552credit_card34002017-09-13 16:52:09
2553credit_card4002017-09-14 02:05:51
2554debit_card34002017-09-15 10:03:48
2555debit_card60002017-09-15 11:15:42
2556debit_card4002017-09-15 17:31:14
2557credit_card630002017-09-15 17:48:24
2558credit_card4002017-09-16 06:12:09
2559debit_card15002017-09-16 07:08:55
2560cash8002017-09-16 10:18:17
2561debit_card8002017-09-16 10:28:37
2562credit_card8002017-09-16 10:28:56
2563credit_card4002017-09-16 13:37:23
2564debit_card4002017-09-16 13:38:15
2565debit_card34002017-09-17 09:34:09
2566cash8002017-09-17 10:24:42
2567credit_card85002017-09-17 11:51:12
2568credit_card45002017-09-17 13:10:32
2569digital_wallet15002017-09-19 08:03:34
2570credit_card15002017-09-20 07:31:09
2571credit_card34002017-09-20 09:41:42
2572digital_wallet45002017-09-20 15:18:03
2573credit_card4002017-09-22 04:28:54
2574credit_card30002017-09-22 07:44:49
2575cash34002017-09-22 10:43:09
Table definition
CREATE TABLE payment (
  payment_id   INTEGER PRIMARY KEY,
  method       TEXT NOT NULL
               CHECK (method IN ('credit_card', 'debit_card', 'digital_wallet', 'cash')),
  amount_cents INTEGER NOT NULL CHECK (amount_cents >= 0),
  paid_at      TEXT NOT NULL CHECK (paid_at GLOB '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]')
) STRICT;