From fddef35ae177665154511ba84678f713e9c5fa87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Fri, 22 Sep 2023 16:17:45 +0800 Subject: [PATCH] feat:fix bugs --- api/app/lib/models/form_data_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/models/form_data_table.js b/api/app/lib/models/form_data_table.js index 34613f4..c37ceb6 100644 --- a/api/app/lib/models/form_data_table.js +++ b/api/app/lib/models/form_data_table.js @@ -9,7 +9,7 @@ module.exports = dc => { id: { type: DataTypes.INTEGER, allowNull: false, - defaultValue: "nextval(\"formDataTable_id_seq\"::regclass)", + defaultValue: null, comment: "id", primaryKey: true, field: "id",