Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 3,951–3,975 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 3951 | debit_card | 400 | 2018-12-08 00:10:16 |
| 3952 | credit_card | 400 | 2018-12-09 03:16:53 |
| 3953 | credit_card | 1500 | 2018-12-09 08:26:34 |
| 3954 | credit_card | 3400 | 2018-12-09 10:11:32 |
| 3955 | debit_card | 400 | 2018-12-09 13:00:43 |
| 3956 | credit_card | 3000 | 2018-12-10 11:46:15 |
| 3957 | credit_card | 400 | 2018-12-10 19:00:58 |
| 3958 | credit_card | 400 | 2018-12-11 01:39:20 |
| 3959 | cash | 1700 | 2018-12-11 09:09:52 |
| 3960 | digital_wallet | 800 | 2018-12-11 09:49:45 |
| 3961 | credit_card | 1500 | 2018-12-11 11:30:28 |
| 3962 | debit_card | 3000 | 2018-12-11 18:37:16 |
| 3963 | debit_card | 3400 | 2018-12-12 10:09:58 |
| 3964 | debit_card | 3000 | 2018-12-12 11:30:39 |
| 3965 | credit_card | 800 | 2018-12-12 12:16:25 |
| 3966 | credit_card | 3000 | 2018-12-13 18:13:50 |
| 3967 | credit_card | 6000 | 2018-12-13 19:13:24 |
| 3968 | credit_card | 3000 | 2018-12-14 07:44:28 |
| 3969 | credit_card | 3400 | 2018-12-14 10:32:41 |
| 3970 | debit_card | 800 | 2018-12-14 11:08:07 |
| 3971 | debit_card | 5100 | 2018-12-14 11:16:22 |
| 3972 | credit_card | 800 | 2018-12-14 12:06:07 |
| 3973 | debit_card | 400 | 2018-12-15 04:19:35 |
| 3974 | debit_card | 6000 | 2018-12-15 10:10:35 |
| 3975 | digital_wallet | 3000 | 2018-12-15 19:10:27 |
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;