Closed vanamraghu closed 1 month ago
Fixes #51
Review model is added with right associations b/w patient & doctor
Run rails console and verify the existence of table review as shown below
rails c Loading development environment (Rails 7.1.3.4) irb(main):001> Review.all Review Load (1.6ms) SELECT "reviews". FROM "reviews" / loading for pp */ LIMIT $1 [["LIMIT", 11]] => [] irb(main):002> Review.column_names => ["id", "patient_profile_id", "doctor_profile_id", "created_at", "updated_at"]
@vanamraghu You can update your PR now as Aniket has merged his PR.
@rt4914 its merged now can you pls check it
Fixes #51
Description
Review model is added with right associations b/w patient & doctor
Type of change
How to test this PR?
Run rails console and verify the existence of table review as shown below
rails c Loading development environment (Rails 7.1.3.4) irb(main):001> Review.all Review Load (1.6ms) SELECT "reviews". FROM "reviews" / loading for pp */ LIMIT $1 [["LIMIT", 11]] => [] irb(main):002> Review.column_names => ["id", "patient_profile_id", "doctor_profile_id", "created_at", "updated_at"]