How to access 'hidden' fields during migration #2725
JanezStupar
started this conversation in
General
Replies: 1 comment 3 replies
-
I don't think this is possible with drift APIs alone unless you create your own These columns are hidden in a pretty low level by using the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a CRDT plugin for Drift.
One issue I ran into is the matter of migrations.
Long story short is, tables that are meant to be replicated have 4 additional columns added (
is_deleted
,hlc
,node_id
andmodified
).Those 4 columns are added to the table under the hood by the plugin. They are also obscured from the user for UX reasons.
However when tables get migrated it is very important that those 4 fields get their values copied over too.
Is there a way to let migration and only migration know these fields exist?
Beta Was this translation helpful? Give feedback.
All reactions