feat(db): change data type

category(type) VARCHATR --> boolean
This commit is contained in:
iridiumR 2023-05-22 00:07:36 +08:00
parent 9383faa009
commit 8b337f9be3
No known key found for this signature in database
GPG key ID: 49735733EB1A32C8

View file

@ -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
); );