From 8b337f9be38726e416278be598248c40807643a2 Mon Sep 17 00:00:00 2001 From: iridiumR Date: Mon, 22 May 2023 00:07:36 +0800 Subject: [PATCH] feat(db): change data type category(type) VARCHATR --> boolean --- scripts/create_table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_table.sql b/scripts/create_table.sql index 7bede83..8c1c808 100644 --- a/scripts/create_table.sql +++ b/scripts/create_table.sql @@ -8,7 +8,7 @@ CREATE TABLE account ( -- 创建类别表 CREATE TABLE category ( c_id SERIAL PRIMARY KEY, - type VARCHAR(10), + income_type boolean, meta JSONB );