zCRT_retained_PriceHistory
efacdb_full ยท Custom/model/helper tables
Updated
2026-04-03 14:25:41
Columns
Full schema, no data mutation.| # | Name | Type | Key | Nullable | Default | Comment |
|---|
| 1 | id | bigint | PRI | NO | - | - |
| 2 | partid | varchar(30) | MUL | NO | - | - |
| 3 | change_ts | datetime | - | NO | CURRENT_TIMESTAMP | - |
| 4 | run_id | char(36) | MUL | YES | - | - |
| 5 | old_price_wholesale | decimal(19,4) | - | YES | - | - |
| 6 | new_price_wholesale | decimal(19,4) | - | YES | - | - |
| 7 | old_price_trade | decimal(19,4) | - | YES | - | - |
| 8 | new_price_trade | decimal(19,4) | - | YES | - | - |
| 9 | old_price_retail | decimal(19,4) | - | YES | - | - |
| 10 | new_price_retail | decimal(19,4) | - | YES | - | - |
Indexes
| Name | Unique | Columns |
|---|
| PRIMARY | Yes | id |
| idx_ph_partid_ts | No | partid, change_ts |
| idx_ph_run_id | No | run_id |
Foreign Keys
EFACS has few enforced keys; many relationships are conventional.| Column | References |
|---|
| No enforced foreign keys found for this table. |