Skip to content

Fix seed.ts: rename userid to owner to match itinerary schema#2

Merged
colterpurcell merged 2 commits into
newlaptopfrom
copilot/sub-pr-1
Dec 5, 2025
Merged

Fix seed.ts: rename userid to owner to match itinerary schema#2
colterpurcell merged 2 commits into
newlaptopfrom
copilot/sub-pr-1

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 5, 2025

Seed data for itineraries used userid field but the schema in itinerary-model.ts defines it as owner.

Changes

  • Renamed useridowner in all 5 itinerary seed objects
// Before
{
  itineraryid: "yose-fall-day1",
  tripid: "yose-fall",
  tripName: "Yosemite Fall Adventure",
- userid: "alice",
+ owner: "alice",
  day: 1,
  ...
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: colterpurcell <76139300+colterpurcell@users.noreply.github.com>
@colterpurcell colterpurcell marked this pull request as ready for review December 5, 2025 20:05
@colterpurcell colterpurcell merged commit 975772b into newlaptop Dec 5, 2025
Copilot AI changed the title [WIP] Address feedback on 'Finish MVU' pull request Fix seed.ts: rename userid to owner to match itinerary schema Dec 5, 2025
Copilot AI requested a review from colterpurcell December 5, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants