Skip to content

Commit

Permalink
feat: add sync_outgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
hydra-yse committed Nov 20, 2024
1 parent 9597201 commit be3091d
Show file tree
Hide file tree
Showing 4 changed files with 500 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ x509-parser = { version = "0.16.0" }
tempfile = "3"
tonic = { version = "0.12.3", features = ["tls"] }
prost = "0.13.3"
uuid = { version = "1.8.0", features = ["v4"] }

[dev-dependencies]
lazy_static = "1.5.0"
Expand Down
1 change: 1 addition & 0 deletions lib/core/src/persist/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ pub(crate) fn current_migrations() -> Vec<&'static str> {
) STRICT;",
"CREATE TABLE IF NOT EXISTS sync_outgoing(
record_id TEXT NOT NULL PRIMARY KEY,
data_id TEXT NOT NULL UNIQUE,
record_type INTEGER NOT NULL,
commit_time INTEGER NOT NULL,
updated_fields_json TEXT
Expand Down
Loading

0 comments on commit be3091d

Please sign in to comment.