Files
datahub/backend
nz 785726caac add timescaledb extension migration and orders_daily_by_created continuous aggregate
P22.1 of Stage 22 materialization layer infrastructure. Adds explicit
CREATE EXTENSION migration so clean environments can run `migrate` end-to-end
without ops manual setup, then creates the first continuous aggregate
orders_daily_by_created (day-bucketed, grouped by company/platform/store)
with WITH NO DATA. Five composite indexes cover the high-frequency query
patterns documented in docs/data_query.md. P22.2/P22.3 will add the
by-paid view, refresh policy and historical backfill on top.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 12:07:17 +08:00
..
2026-04-20 10:40:48 +08:00
2026-02-04 15:45:48 +08:00
2026-03-17 12:45:22 +08:00
2026-03-17 15:55:20 +08:00
2026-03-13 15:01:55 +08:00
2026-04-17 13:57:01 +08:00
2026-03-17 10:35:50 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-12 09:33:45 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-05 16:34:40 +08:00
2025-11-12 12:46:23 +08:00

开发记录:

创建模型:

php ./bin/hyperf.php gen:model -F --with-comments --with-ide --property-case 0 -R companies

业务规范

  1. 拆分模型之间的强关联
  2. 订单子项可以根据需要进行更新