Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 151–175 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 151 | digital_wallet | 7500 | 2015-04-20 15:46:43 |
| 152 | credit_card | 400 | 2015-04-21 08:13:07 |
| 153 | debit_card | 3400 | 2015-04-21 16:48:10 |
| 154 | credit_card | 1700 | 2015-04-23 08:53:40 |
| 155 | debit_card | 1500 | 2015-04-24 09:42:20 |
| 156 | debit_card | 1700 | 2015-04-24 12:50:39 |
| 157 | debit_card | 3000 | 2015-04-24 15:53:06 |
| 158 | digital_wallet | 8500 | 2015-04-24 16:11:33 |
| 159 | debit_card | 1500 | 2015-04-24 16:12:28 |
| 160 | digital_wallet | 800 | 2015-04-24 16:31:56 |
| 161 | credit_card | 4500 | 2015-04-25 08:44:40 |
| 162 | debit_card | 400 | 2015-04-26 00:24:16 |
| 163 | credit_card | 400 | 2015-04-26 07:00:45 |
| 164 | credit_card | 800 | 2015-04-26 11:07:15 |
| 165 | cash | 1700 | 2015-04-26 13:00:43 |
| 166 | credit_card | 800 | 2015-04-26 13:32:43 |
| 167 | credit_card | 6000 | 2015-04-26 19:01:42 |
| 168 | credit_card | 4500 | 2015-04-26 23:07:41 |
| 169 | credit_card | 400 | 2015-04-27 13:00:08 |
| 170 | debit_card | 400 | 2015-04-28 09:12:54 |
| 171 | debit_card | 3000 | 2015-04-28 16:07:52 |
| 172 | cash | 3400 | 2015-04-29 10:58:20 |
| 173 | credit_card | 7500 | 2015-04-29 11:31:03 |
| 174 | debit_card | 1700 | 2015-04-29 11:48:56 |
| 175 | credit_card | 800 | 2015-04-29 12:27:36 |
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;