feat(db): change data type
category(type) VARCHATR --> boolean
This commit is contained in:
parent
9383faa009
commit
8b337f9be3
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ CREATE TABLE account (
|
||||||
-- 创建类别表
|
-- 创建类别表
|
||||||
CREATE TABLE category (
|
CREATE TABLE category (
|
||||||
c_id SERIAL PRIMARY KEY,
|
c_id SERIAL PRIMARY KEY,
|
||||||
type VARCHAR(10),
|
income_type boolean,
|
||||||
meta JSONB
|
meta JSONB
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue