feat: migrations for document auto-sync [AI-141] (#14041)
# Pull Request Template ## Description Add migrations for document auto-sync Fixes # (issue) ## Type of change - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? locally ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published in downstream modules
This commit is contained in:
@@ -29,3 +29,4 @@ json.id resource.id
|
||||
json.question resource.question
|
||||
json.updated_at resource.updated_at.to_i
|
||||
json.status resource.status
|
||||
json.edited resource.edited
|
||||
|
||||
@@ -11,4 +11,8 @@ json.file_size resource.file_size
|
||||
json.id resource.id
|
||||
json.name resource.name
|
||||
json.status resource.status
|
||||
json.sync_status resource.sync_status
|
||||
json.last_synced_at resource.last_synced_at&.to_i
|
||||
json.last_sync_attempted_at resource.last_sync_attempted_at&.to_i
|
||||
json.last_sync_error_code resource.last_sync_error_code
|
||||
json.updated_at resource.updated_at.to_i
|
||||
|
||||
Reference in New Issue
Block a user