Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 3,576–3,600 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 3576 | digital_wallet | 800 | 2018-08-14 11:39:05 |
| 3577 | debit_card | 3000 | 2018-08-15 08:04:36 |
| 3578 | credit_card | 400 | 2018-08-15 12:00:27 |
| 3579 | digital_wallet | 6000 | 2018-08-15 22:04:42 |
| 3580 | debit_card | 1500 | 2018-08-16 11:32:56 |
| 3581 | credit_card | 4500 | 2018-08-17 08:31:53 |
| 3582 | credit_card | 800 | 2018-08-17 10:14:57 |
| 3583 | credit_card | 6800 | 2018-08-17 11:10:22 |
| 3584 | credit_card | 1700 | 2018-08-17 11:10:54 |
| 3585 | credit_card | 1500 | 2018-08-17 15:55:37 |
| 3586 | credit_card | 6000 | 2018-08-17 18:59:11 |
| 3587 | debit_card | 800 | 2018-08-18 10:51:01 |
| 3588 | credit_card | 4500 | 2018-08-18 11:59:22 |
| 3589 | credit_card | 3400 | 2018-08-18 15:38:52 |
| 3590 | debit_card | 1500 | 2018-08-18 15:48:10 |
| 3591 | digital_wallet | 1700 | 2018-08-19 09:00:47 |
| 3592 | credit_card | 5100 | 2018-08-19 10:46:18 |
| 3593 | debit_card | 3400 | 2018-08-19 12:30:25 |
| 3594 | digital_wallet | 800 | 2018-08-19 15:40:21 |
| 3595 | debit_card | 800 | 2018-08-19 15:52:09 |
| 3596 | credit_card | 3000 | 2018-08-19 19:08:49 |
| 3597 | cash | 3400 | 2018-08-20 12:43:40 |
| 3598 | credit_card | 400 | 2018-08-21 00:40:15 |
| 3599 | debit_card | 3400 | 2018-08-21 09:24:47 |
| 3600 | credit_card | 400 | 2018-08-22 01:00:35 |
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;