Skip to content

Combine deploy merge#5799

Open
sshinde-rtsl wants to merge 13 commits intomasterfrom
combine-deploy-merge
Open

Combine deploy merge#5799
sshinde-rtsl wants to merge 13 commits intomasterfrom
combine-deploy-merge

Conversation

@sshinde-rtsl
Copy link
Copy Markdown
Contributor

Story card: sc-XXXX

Because

Enter the reason for raising this PR...

This addresses

Enter the details of what all this covers...

Test instructions

Enter detailed instructions for how to test this PR...

- Add migration to create patient_scores table (with existence check)
- Add PatientScore model with Mergeable concern
- Add Api::V4::PatientScoresController with sync_to_user only
- Add PatientScoreTransformer for response transformation
- Add patient_score schema to Api::V4::Models
- Add GET route for /patient_scores/sync
- Add factory and controller spec for patient_scores (sync_to_user only)
…t line 9724, which terminated the INSERT INTO schema_migrations statement early. The migration

 versions on lines 9725-9729 were left as orphaned SQL, causing the syntax error.
# Conflicts:
#	app/controllers/admin/deduplicate_patients_controller.rb
#	app/views/admin/deduplicate_patients/show.html.erb
#	db/structure.sql
Remove hardcoded Time.current for created_at/updated_at and let the
base transformer use the actual device_created_at/device_updated_at
from the record. This fixes pagination issues in sync.
Remove duplicate entry for migration 20260212195326 and fix
chronological ordering of migration entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant