Hive
refactor(meadows): rename products to meadows
GitHub issue · Closed
Source
tuist/hive #28
Updated
Jun 24, 2026
Domains
Hive
Summary
- Renames the
Productsdata model toMeadowsend to end to reflect that each record represents a domain boundary rather than a product. Module namespaceHive.Products.*becomesHive.Meadows.*; schemas, controllers, and LiveViews follow (Product→Meadow,ProductRepository→MeadowRepository,ProductWebhookController→MeadowWebhookController,SettingsLive.Product(s)→SettingsLive.Meadow(s)). - Updates routes:
/settings/products[/:id]→/settings/meadows[/:id];/webhooks/products/:product_id/...→/webhooks/meadows/:meadow_id/.... - Adds a new migration (
20260611000001_rename_products_to_meadows.exs) that renames the 4 tables, theproduct_idcolumns, primary keys, indexes, and the visibility check constraint. Historical migrations are left untouched. - Updates
AGENTS.md/CLAUDE.mdand the VitePress docs site (tagline + per-meadow scoping copy) to use meadow terminology. Marketing prose that uses “product” generically (e.g. “product teams”, “shape of product work”) is intentionally left alone. The Hive instance branding surface (Auth.product_name,@product_nameassign) is preserved since it is unrelated to the data model.
Testing
mix compile --warnings-as-errorsMIX_ENV=test mix ecto.drop && mix ecto.create && mix ecto.migratemix test(306 tests, 0 failures)
No GitHub comments yet.