Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/models generation #16

Merged
merged 7 commits into from
Feb 15, 2024
Merged

Features/models generation #16

merged 7 commits into from
Feb 15, 2024

Conversation

fmanimashaun
Copy link
Owner

@fmanimashaun fmanimashaun commented Feb 15, 2024

Description

This pull request includes the generation of models based on the provided Entity Relationship Diagram (ERD). The models generated are Car, CarDetails, EngineType, Reservation, User, and City. This PR will close issues #1 , #2 and #5 upon merging.

Changes

The following models have been generated with their respective attributes:

  1. Car
  • id: integer, primary key
  • name: string
  • description: text
  1. CarDetails
  • id: integer, primary key
  • car_id: integer, foreign key referencing Car.id
  • engine_type_id: integer, foreign key referencing EngineType.id
  • horsepower: integer
  • torque: integer
  • fuel_economy: string
  • seating_capacity: integer
  • cargo_space: string
  • infotainment_system: string
  • safety_rating: string
  • tech_features: string
  • special_features: string
  1. EngineType
  • id: integer, primary key
  • name: string
  1. Reservation
  • id: integer, primary key
  • date: date
  • city_id: integer, foreign key referencing City.id
  • car_id: integer, foreign key referencing Car.id
  • user_id: integer, foreign key referencing User.id
  1. User
  • id: integer, primary key
  • username: string
  • name: string
  • email: string
  • role: integer
  1. City
  • id: integer, primary key
  • name: string

##Reviewers
Please review the changes and provide your feedback.

Copy link
Collaborator

@Estete9 Estete9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fmanimashaun ,

Your feature is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

STATUS: APPROVED 🟢

Highlights

  • Good PR title ✅
  • Descriptive PR description ✅
  • Implement the features ✅
  • Great use of modules ✅
  • Linters are green ✅
  • Meaningful Github commits ✅

Optional suggestions

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.

⚠️ WARNING ⚠️

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Have any doubt ❓

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @Estete9 in your question so I can receive the notification. You can also follow me on the below platforms

@Estete9 linkedin-esteban-palacios-5030a772 @NaughTban

@fmanimashaun fmanimashaun merged commit 7c9162f into dev Feb 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants