Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 4,801–4,825 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 4801 | credit_card | 400 | 2019-08-24 01:59:32 |
| 4802 | debit_card | 6000 | 2019-08-24 07:55:31 |
| 4803 | credit_card | 5100 | 2019-08-24 09:31:57 |
| 4804 | digital_wallet | 3000 | 2019-08-24 23:10:30 |
| 4805 | credit_card | 7500 | 2019-08-24 23:10:53 |
| 4806 | digital_wallet | 3000 | 2019-08-25 07:48:01 |
| 4807 | digital_wallet | 4500 | 2019-08-25 13:03:29 |
| 4808 | debit_card | 3400 | 2019-08-25 14:01:46 |
| 4809 | cash | 800 | 2019-08-25 14:33:59 |
| 4810 | credit_card | 3000 | 2019-08-25 14:40:26 |
| 4811 | credit_card | 400 | 2019-08-25 15:52:58 |
| 4812 | credit_card | 6000 | 2019-08-25 18:02:11 |
| 4813 | credit_card | 1500 | 2019-08-26 12:23:33 |
| 4814 | debit_card | 3400 | 2019-08-26 13:30:05 |
| 4815 | credit_card | 400 | 2019-08-26 14:31:33 |
| 4816 | debit_card | 3000 | 2019-08-26 22:57:02 |
| 4817 | debit_card | 1500 | 2019-08-27 07:35:27 |
| 4818 | credit_card | 1500 | 2019-08-27 07:58:46 |
| 4819 | credit_card | 400 | 2019-08-27 09:05:17 |
| 4820 | debit_card | 8500 | 2019-08-27 09:50:14 |
| 4821 | debit_card | 800 | 2019-08-27 10:36:27 |
| 4822 | debit_card | 800 | 2019-08-28 09:37:26 |
| 4823 | credit_card | 6800 | 2019-08-28 10:17:44 |
| 4824 | debit_card | 1700 | 2019-08-28 10:53:43 |
| 4825 | digital_wallet | 800 | 2019-08-28 11:13:48 |
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;