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,276–2,300 of 5,412

payment, page 92 of 217
payment_idINTEGERmethodTEXTamount_centsINTEGERpaid_atTEXT
2276digital_wallet51002017-06-21 11:44:29
2277credit_card30002017-06-22 07:10:29
2278digital_wallet60002017-06-22 12:34:07
2279credit_card8002017-06-22 14:55:04
2280credit_card4002017-06-22 20:01:44
2281credit_card30002017-06-23 10:50:08
2282debit_card30002017-06-23 15:53:26
2283credit_card30002017-06-23 20:55:28
2284credit_card30002017-06-23 23:14:14
2285debit_card4002017-06-24 03:35:00
2286credit_card8002017-06-24 11:25:31
2287debit_card4002017-06-25 05:24:50
2288credit_card30002017-06-25 08:12:07
2289credit_card34002017-06-25 11:05:10
2290cash34002017-06-25 13:28:27
2291cash8002017-06-25 14:00:21
2292debit_card51002017-06-25 14:28:04
2293debit_card4002017-06-25 23:55:50
2294debit_card30002017-06-26 07:17:16
2295debit_card15002017-06-26 08:35:38
2296credit_card30002017-06-26 10:18:23
2297debit_card8002017-06-26 10:59:07
2298debit_card4002017-06-27 08:22:55
2299credit_card15002017-06-28 08:29:26
2300debit_card4002017-06-28 14:09:52
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;