Table
payment
One row per payment; the method is a single column.
Replaces in 2020: Payment Methods
Rows 476–500 of 5,412
| payment_idINTEGER | methodTEXT | amount_centsINTEGER | paid_atTEXT |
|---|---|---|---|
| 476 | credit_card | 3000 | 2015-07-30 13:59:20 |
| 477 | credit_card | 400 | 2015-08-01 06:15:10 |
| 478 | debit_card | 3400 | 2015-08-01 09:29:34 |
| 479 | cash | 1700 | 2015-08-01 11:18:58 |
| 480 | debit_card | 3000 | 2015-08-01 17:17:12 |
| 481 | debit_card | 4500 | 2015-08-03 07:09:40 |
| 482 | credit_card | 3000 | 2015-08-03 07:31:40 |
| 483 | digital_wallet | 1500 | 2015-08-03 09:21:02 |
| 484 | debit_card | 1700 | 2015-08-04 08:45:05 |
| 485 | debit_card | 800 | 2015-08-04 10:53:50 |
| 486 | credit_card | 6000 | 2015-08-04 13:28:17 |
| 487 | credit_card | 400 | 2015-08-04 21:13:20 |
| 488 | credit_card | 3400 | 2015-08-05 08:59:22 |
| 489 | debit_card | 3400 | 2015-08-05 09:56:02 |
| 490 | credit_card | 4500 | 2015-08-05 16:36:38 |
| 491 | debit_card | 1500 | 2015-08-05 18:22:50 |
| 492 | digital_wallet | 1500 | 2015-08-05 19:50:32 |
| 493 | credit_card | 7500 | 2015-08-05 23:47:58 |
| 494 | credit_card | 800 | 2015-08-06 09:58:08 |
| 495 | credit_card | 1500 | 2015-08-06 13:19:27 |
| 496 | credit_card | 800 | 2015-08-06 17:04:05 |
| 497 | debit_card | 1700 | 2015-08-07 10:35:31 |
| 498 | credit_card | 1500 | 2015-08-07 10:45:59 |
| 499 | digital_wallet | 800 | 2015-08-07 11:15:26 |
| 500 | credit_card | 1500 | 2015-08-07 15:55:45 |
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;