fix: reorder view when sibling view was deleted (#2724)

* fix: reorder view when sibling view was deleted

* ci: fix test

* ci: rust fmt
This commit is contained in:
Nathan.fooo
2023-06-07 00:05:27 +08:00
committed by GitHub
parent e3eee76609
commit 381d2e6c71
13 changed files with 248 additions and 83 deletions

View File

@ -2,7 +2,9 @@
CREATE TABLE collab_snapshot (
id TEXT NOT NULL PRIMARY KEY DEFAULT '',
object_id TEXT NOT NULL DEFAULT '',
title TEXT NOT NULL DEFAULT '',
desc TEXT NOT NULL DEFAULT '',
collab_type TEXT NOT NULL DEFAULT '',
timestamp BIGINT NOT NULL DEFAULT 0,
data BLOB NOT NULL DEFAULT (x'')
);