Add feed provider schema
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the Liquibase changelog and the model generation workflow mentioned in the repository, then inspect the existing agencytxt and feedinfo schemas and shared URL normalizer. Add the requested provider tables, nullable references, index, and normalized URL backfill, then regenerate the models. Done means the acceptance criteria hold and API and function behavior remain unchanged.
由索引模型根据 Issue 内容生成。
描述
Describe the problem
Raw agency.txt and feed_info.txt records have no way to be grouped under a single provider, so TTC and Toronto Transit Commission stay unrelated.
Proposed solution
Liquibase changesets, then regenerate the models:
feed_provider:id,name,status(wip,published,not_published),created_at,updated_atfeed_provider_name_alias:id,feed_provider_id,value(unique per provider)feed_provider_contact:id,feed_provider_id,contact_type(website,email,phone),value(unique per provider and type)- Nullable
feed_provider_idonagencytxtandfeedinfo, indexed feed_publisher_url_normalizedonfeedinfo, indexed and backfilled with the shared URL normalizerfeed_provider.statusdefaults topublished(auto-created providers mirror the GTFS file values).
Acceptance criteria:
- A provider can have multiple aliases and contacts.
- Raw records can reference a provider; existing rows stay unlinked.
- No behavior changes in the API or functions.
Alternatives you've considered
Linking providers through a join table instead of a column on the raw tables: rejected, a raw record belongs to at most one provider.
Additional context
- 主要语言
- Python
- 星标
- 34
- 派生
- 7
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 21
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MobilityData/mobility-feed-api 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
MobilityData/mobility-feed-api#1927 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
MobilityData/mobility-feed-api#1846 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
MobilityData/mobility-feed-api#1755 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
MobilityData/mobility-feed-api#1647 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
MobilityData/mobility-feed-api#836 ·
维护者通常 2 天内回复
查看 MobilityData/mobility-feed-api 的全部 Issue
相似的 Issue
-
backend enhancement priority:P3
难度 2/5 1-3 小时 新手友好度 68/100
geolens-io/geolens#4161 ·
维护者通常 1 天内回复
-
pkg:clai2
难度 1/5 1 小时以内 新手友好度 75/100
pydantic/pydantic-ai#14845 ·
维护者通常 1 天内回复
-
Add a language未关闭good first issue
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 65/100
LearningCircuit/local-deep-research#9272 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 86/100
patrickballard/wheelgap#783 ·