Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 4,851–4,875 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 4851 | digital_wallet | 4500 | 2019-09-04 18:55:08 |
| 4852 | credit_card | 3000 | 2019-09-04 22:48:12 |
| 4853 | debit_card | 400 | 2019-09-05 06:00:20 |
| 4854 | debit_card | 1500 | 2019-09-05 08:42:45 |
| 4855 | digital_wallet | 800 | 2019-09-05 12:24:47 |
| 4856 | digital_wallet | 6000 | 2019-09-05 20:08:54 |
| 4857 | credit_card | 400 | 2019-09-05 21:00:05 |
| 4858 | debit_card | 400 | 2019-09-06 03:44:10 |
| 4859 | debit_card | 7500 | 2019-09-06 09:00:50 |
| 4860 | credit_card | 400 | 2019-09-06 22:28:42 |
| 4861 | debit_card | 1500 | 2019-09-06 22:51:36 |
| 4862 | digital_wallet | 70500 | 2019-09-07 10:32:28 |
| 4863 | digital_wallet | 1500 | 2019-09-07 13:10:54 |
| 4864 | credit_card | 1500 | 2019-09-07 21:10:17 |
| 4865 | debit_card | 1500 | 2019-09-08 15:18:41 |
| 4866 | debit_card | 400 | 2019-09-09 23:26:01 |
| 4867 | debit_card | 800 | 2019-09-10 11:10:34 |
| 4868 | debit_card | 3000 | 2019-09-10 13:30:52 |
| 4869 | debit_card | 400 | 2019-09-10 21:27:58 |
| 4870 | debit_card | 400 | 2019-09-11 02:44:46 |
| 4871 | credit_card | 4500 | 2019-09-11 07:10:48 |
| 4872 | digital_wallet | 5100 | 2019-09-11 10:14:14 |
| 4873 | digital_wallet | 75000 | 2019-09-11 10:27:08 |
| 4874 | cash | 800 | 2019-09-11 12:31:30 |
| 4875 | debit_card | 400 | 2019-09-12 01:28:51 |
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;