Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 3,301–3,325 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 3301 | debit_card | 3000 | 2018-06-05 07:28:10 |
| 3302 | debit_card | 6000 | 2018-06-06 07:00:49 |
| 3303 | debit_card | 400 | 2018-06-06 11:59:42 |
| 3304 | credit_card | 6000 | 2018-06-06 16:57:24 |
| 3305 | credit_card | 1500 | 2018-06-06 18:04:41 |
| 3306 | credit_card | 4500 | 2018-06-06 18:44:35 |
| 3307 | cash | 3400 | 2018-06-07 10:23:44 |
| 3308 | credit_card | 1700 | 2018-06-07 13:01:51 |
| 3309 | credit_card | 400 | 2018-06-07 19:17:38 |
| 3310 | credit_card | 3000 | 2018-06-08 07:34:02 |
| 3311 | credit_card | 1500 | 2018-06-08 11:18:39 |
| 3312 | debit_card | 82500 | 2018-06-08 13:27:02 |
| 3313 | credit_card | 400 | 2018-06-09 01:21:00 |
| 3314 | credit_card | 800 | 2018-06-09 13:50:03 |
| 3315 | debit_card | 800 | 2018-06-09 13:58:52 |
| 3316 | debit_card | 1500 | 2018-06-10 07:07:55 |
| 3317 | digital_wallet | 3400 | 2018-06-10 10:46:23 |
| 3318 | debit_card | 4500 | 2018-06-10 10:59:34 |
| 3319 | debit_card | 1700 | 2018-06-10 12:26:28 |
| 3320 | cash | 800 | 2018-06-10 12:58:04 |
| 3321 | digital_wallet | 1500 | 2018-06-10 14:46:17 |
| 3322 | digital_wallet | 3000 | 2018-06-10 22:57:47 |
| 3323 | credit_card | 1500 | 2018-06-11 13:47:50 |
| 3324 | credit_card | 3000 | 2018-06-11 14:11:59 |
| 3325 | debit_card | 1700 | 2018-06-12 14:33:31 |
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;