Refine api style for change set

This commit is contained in:
WQY\qiong
2022-10-09 23:25:31 +08:00
parent 69db29d981
commit 231304f73a
5 changed files with 112 additions and 41 deletions

View File

@@ -5,8 +5,8 @@ create table operation
, undo text not null
, parent integer references operation(id) on delete cascade
, redo_child integer references operation(id) -- must update before delete
, redo_change_set json
, undo_change_set json
, redo_change_set jsonb
, undo_change_set jsonb
);
insert into operation (id, redo, undo) values (0, '', '');