Huge refactor to api and add batch api

This commit is contained in:
WQY\qiong
2022-10-14 23:18:01 +08:00
parent 200aaaca99
commit c5480d55ca
20 changed files with 1811 additions and 1510 deletions

View File

@@ -5,11 +5,11 @@ 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 jsonb
, undo_change_set jsonb
, redo_cs text not null
, undo_cs text not null
);
insert into operation (id, redo, undo) values (0, '', '');
insert into operation (id, redo, undo, redo_cs, undo_cs) values (0, '', '', '', '');
create table current_operation
(