Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 5,126–5,150 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 5126 | digital_wallet | 3400 | 2019-12-03 08:51:38 |
| 5127 | debit_card | 800 | 2019-12-03 09:22:07 |
| 5128 | digital_wallet | 6000 | 2019-12-03 12:37:07 |
| 5129 | credit_card | 400 | 2019-12-03 20:39:21 |
| 5130 | debit_card | 400 | 2019-12-04 03:08:38 |
| 5131 | debit_card | 1700 | 2019-12-04 09:58:09 |
| 5132 | debit_card | 6000 | 2019-12-04 14:38:17 |
| 5133 | debit_card | 3000 | 2019-12-04 19:04:15 |
| 5134 | debit_card | 800 | 2019-12-05 09:50:21 |
| 5135 | debit_card | 800 | 2019-12-05 09:58:10 |
| 5136 | debit_card | 800 | 2019-12-05 10:03:59 |
| 5137 | digital_wallet | 3000 | 2019-12-05 13:48:37 |
| 5138 | debit_card | 3400 | 2019-12-05 15:11:35 |
| 5139 | credit_card | 4500 | 2019-12-05 16:51:46 |
| 5140 | debit_card | 3000 | 2019-12-06 13:40:36 |
| 5141 | debit_card | 400 | 2019-12-06 13:59:04 |
| 5142 | credit_card | 3000 | 2019-12-06 21:51:34 |
| 5143 | credit_card | 400 | 2019-12-07 05:51:17 |
| 5144 | debit_card | 400 | 2019-12-07 10:40:37 |
| 5145 | cash | 3400 | 2019-12-07 10:46:25 |
| 5146 | credit_card | 4500 | 2019-12-07 11:29:50 |
| 5147 | cash | 800 | 2019-12-07 12:16:38 |
| 5148 | credit_card | 3000 | 2019-12-07 23:45:20 |
| 5149 | debit_card | 800 | 2019-12-08 09:36:42 |
| 5150 | credit_card | 800 | 2019-12-08 10:53:47 |
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;