Skip to content

Introduce file diff table #482

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

Open
wants to merge 2 commits into
base: dev-r65-pull
Choose a base branch
from
Open

Introduce file diff table #482

wants to merge 2 commits into from

Conversation

varmar05
Copy link
Collaborator

@varmar05 varmar05 commented Jul 17, 2025

Expand diff json column from file_history into new separate table. At the moment this is just DB refactoring but on the same time it is a prerequisite for further pull improvements.

Currently we store metadata associated to gpkg-diff files in new table with rank 0 (aka. elementary diff) but the table will host also merged diffs of higher orders in the future.

Every row in the new table is related to:

  • corresponding file change in file_history
  • corresponding basefile (again in file_history) which will be used when diff file is applied

Expand diff json column into separate table
@varmar05 varmar05 requested a review from MarcelGeo July 17, 2025 12:02
@varmar05 varmar05 marked this pull request as ready for review July 17, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant