GitHub · Where software is built | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Implement User and Trip Models #2

Open
@LadyKerr

Description

@LadyKerr

Implement User Model

Description

Create a User model with secure authentication capabilities including email, password with hashing, and timestamp tracking.

User Model Requirements

  • Create User model with the following fields:
    • Email (unique identifier)
    • Password
    • Created at timestamp
    • Updated at timestamp
  • Add email validation
  • Ensure timestamps are automatically managed

Acceptance Criteria

  • User model exists with all required fields
  • Email validation is in place
  • Timestamps are automatically set and updated

Implement Trip Model

Description

Create a Trip model to store travel information with user relationships and location data.

Trip Model Requirements

  • Create Trip model with the following fields:
    • Destination
    • Start date
    • End date
    • Coordinates (latitude/longitude)
    • Itinerary
    • User relationship (foreign key)
  • Implement proper relationship with User model

Acceptance Criteria

  • Trip model exists with all required fields
  • User relationship is properly established
  • Date fields handle timezones correctly
  • Coordinates store location data accurately
  • Itinerary field supports travel plan data

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    TMZ Celebrity News – Breaking Stories, Videos & Gossip

    Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

    Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

    🎥 Watch TMZ Live

    TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.