Open jsvgoncalves opened 3 months ago
Activity
In the current approach, the project table has a current_revision column. Each revision's a set of metadata, such as parent_revision, optional title , etc.
current_revision
parent_revision
title
{ "metadata": { "revision": <this-revision-id> "parent_revision": <parent-revision-id> "title": "<optional>" "description": "<optional>" "authors": "<optional>" (maybe shouldn't be optional) }, "data": {…} }
Data is defined type and per object, e.g.:
"metadata": {…} "data": { "activity": [deepdiff_1, deepdiff_2], "exchange": [deepdiff_3], "exchanges": [] }
… "activity": [ {id: <id>, diff: deepdiff_export}, {id: <id>, diff: deepdiff_export}, ],
Activity.save()
Activity
, but setting up PR for feedback.In the current approach, the project table has a
current_revision
column. Each revision's a set of metadata, such asparent_revision
, optionaltitle
, etc.Data is defined type and per object, e.g.:
Open questions:
Activity.save()
, how does the UX look like?