Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 2,476–2,500 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 2476 | credit_card | 3000 | 2017-08-20 09:37:27 |
| 2477 | debit_card | 1700 | 2017-08-20 12:23:44 |
| 2478 | credit_card | 64500 | 2017-08-20 12:49:00 |
| 2479 | cash | 800 | 2017-08-20 15:17:04 |
| 2480 | credit_card | 3400 | 2017-08-21 14:39:57 |
| 2481 | debit_card | 3000 | 2017-08-21 20:33:22 |
| 2482 | debit_card | 1500 | 2017-08-22 09:43:40 |
| 2483 | digital_wallet | 1500 | 2017-08-22 11:27:09 |
| 2484 | digital_wallet | 8500 | 2017-08-22 11:44:09 |
| 2485 | credit_card | 800 | 2017-08-22 12:16:43 |
| 2486 | credit_card | 3400 | 2017-08-22 12:22:43 |
| 2487 | credit_card | 6800 | 2017-08-22 15:41:29 |
| 2488 | debit_card | 800 | 2017-08-22 16:13:09 |
| 2489 | debit_card | 1500 | 2017-08-23 10:33:44 |
| 2490 | credit_card | 3000 | 2017-08-23 14:10:17 |
| 2491 | debit_card | 3000 | 2017-08-24 08:06:21 |
| 2492 | credit_card | 4500 | 2017-08-24 08:53:10 |
| 2493 | debit_card | 1700 | 2017-08-24 11:47:31 |
| 2494 | cash | 6800 | 2017-08-24 11:49:14 |
| 2495 | debit_card | 6000 | 2017-08-24 13:43:31 |
| 2496 | debit_card | 400 | 2017-08-24 23:05:05 |
| 2497 | debit_card | 400 | 2017-08-25 01:21:49 |
| 2498 | credit_card | 800 | 2017-08-25 10:26:11 |
| 2499 | digital_wallet | 3000 | 2017-08-25 11:56:49 |
| 2500 | credit_card | 3000 | 2017-08-25 20:14: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;