Skip to content

Commit 9243191

Browse files
committed
fix(Revert): changed back to json type instead of jsonb
Since most operations will be simply reading and writing json data to the info field of the Info table, storing a jsonb format takes up a slightly more space and must be transformed to text during reads. Since most features simply read the entire field, using the json format makes more sense than jsonb
1 parent 1d7a142 commit 9243191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

song-server/src/main/resources/schema.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ DROP TABLE IF EXISTS Info;
162162
CREATE TABLE Info (
163163
id VARCHAR(36),
164164
id_type id_type,
165-
info jsonb
165+
info json
166166
);
167167

168168

0 commit comments

Comments
 (0)