整理格式
This commit is contained in:
parent
dd3c3f6244
commit
57e02c7bc9
1 changed files with 12 additions and 14 deletions
|
@ -5,7 +5,6 @@ CREATE TABLE account (
|
|||
meta JSONB -- 元数据
|
||||
);
|
||||
-- {"name":"name",
|
||||
-- time:"2022-02-02",
|
||||
-- “budget": [
|
||||
-- {"time":"2022-02","value":20.32},
|
||||
-- {"time":"2022-01","value":30.32}
|
||||
|
@ -35,11 +34,10 @@ CREATE TABLE transaction (
|
|||
amount MONEY,
|
||||
meta JSONB -- 元数据
|
||||
);
|
||||
-- {"discription":"something",(可选)
|
||||
-- "type":"in"/"out"/"transfer"/"init"/"modify",
|
||||
|
||||
-- "reimburse":{ (报销)
|
||||
-- "finish": true,
|
||||
-- {"discription":"something",
|
||||
-- "type":"in"/"out"/"transfer"/"init",
|
||||
-- "reimburse":{
|
||||
-- "finish": true/false,
|
||||
-- "ref":t_id
|
||||
-- }
|
||||
-- "":"something"}
|
||||
|
|
Loading…
Reference in a new issue