Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 3,776–3,800 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 3776 | cash | 1700 | 2018-10-15 13:29:00 |
| 3777 | debit_card | 800 | 2018-10-15 15:31:27 |
| 3778 | debit_card | 400 | 2018-10-15 21:32:02 |
| 3779 | digital_wallet | 1500 | 2018-10-16 15:39:18 |
| 3780 | credit_card | 400 | 2018-10-16 20:21:20 |
| 3781 | credit_card | 3000 | 2018-10-17 17:32:02 |
| 3782 | debit_card | 1700 | 2018-10-18 13:56:22 |
| 3783 | digital_wallet | 800 | 2018-10-18 14:23:18 |
| 3784 | debit_card | 3000 | 2018-10-18 14:56:11 |
| 3785 | credit_card | 3000 | 2018-10-18 22:43:36 |
| 3786 | debit_card | 400 | 2018-10-18 23:51:57 |
| 3787 | credit_card | 400 | 2018-10-19 05:52:22 |
| 3788 | debit_card | 400 | 2018-10-19 10:51:43 |
| 3789 | digital_wallet | 3000 | 2018-10-19 13:52:20 |
| 3790 | debit_card | 400 | 2018-10-19 14:00:47 |
| 3791 | credit_card | 1500 | 2018-10-19 16:51:09 |
| 3792 | credit_card | 1500 | 2018-10-19 16:54:55 |
| 3793 | credit_card | 400 | 2018-10-19 18:47:07 |
| 3794 | digital_wallet | 800 | 2018-10-20 12:41:45 |
| 3795 | credit_card | 400 | 2018-10-20 18:14:37 |
| 3796 | cash | 1700 | 2018-10-21 14:42:02 |
| 3797 | credit_card | 1500 | 2018-10-21 15:31:45 |
| 3798 | credit_card | 6000 | 2018-10-22 08:32:01 |
| 3799 | debit_card | 400 | 2018-10-22 21:25:22 |
| 3800 | credit_card | 400 | 2018-10-23 10:38:42 |
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;