Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 3,726–3,750 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 3726 | credit_card | 6000 | 2018-09-30 10:55:16 |
| 3727 | credit_card | 800 | 2018-09-30 11:01:13 |
| 3728 | digital_wallet | 3000 | 2018-09-30 20:09:58 |
| 3729 | credit_card | 400 | 2018-10-01 12:30:42 |
| 3730 | debit_card | 58500 | 2018-10-01 14:22:44 |
| 3731 | debit_card | 3000 | 2018-10-02 16:02:55 |
| 3732 | digital_wallet | 1500 | 2018-10-02 16:13:22 |
| 3733 | cash | 3400 | 2018-10-03 09:51:43 |
| 3734 | credit_card | 3000 | 2018-10-03 10:40:52 |
| 3735 | debit_card | 4500 | 2018-10-03 11:10:07 |
| 3736 | digital_wallet | 1500 | 2018-10-04 07:12:21 |
| 3737 | credit_card | 400 | 2018-10-04 21:08:13 |
| 3738 | digital_wallet | 6000 | 2018-10-05 10:19:36 |
| 3739 | credit_card | 7500 | 2018-10-05 13:29:24 |
| 3740 | debit_card | 1500 | 2018-10-05 16:44:29 |
| 3741 | credit_card | 400 | 2018-10-05 18:26:39 |
| 3742 | debit_card | 400 | 2018-10-05 21:28:06 |
| 3743 | debit_card | 400 | 2018-10-05 22:38:58 |
| 3744 | debit_card | 400 | 2018-10-06 03:44:42 |
| 3745 | credit_card | 3400 | 2018-10-06 09:04:36 |
| 3746 | debit_card | 800 | 2018-10-06 09:36:09 |
| 3747 | cash | 1700 | 2018-10-06 10:27:20 |
| 3748 | credit_card | 1700 | 2018-10-06 10:36:13 |
| 3749 | credit_card | 800 | 2018-10-06 10:52:21 |
| 3750 | debit_card | 400 | 2018-10-06 22:36:09 |
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;