From 70370fcb0b8dba07615a2b42b1bb0ea859295e26 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 19 May 2024 18:19:57 +0800 Subject: [PATCH] Update sphinx_make.py --- plugins/sphinx/class/sphinx_make.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/sphinx/class/sphinx_make.py b/plugins/sphinx/class/sphinx_make.py index 85d77ff23..6b18988b9 100644 --- a/plugins/sphinx/class/sphinx_make.py +++ b/plugins/sphinx/class/sphinx_make.py @@ -244,11 +244,7 @@ def makeSqlToSphinxTable(pdb,db,table,pkey_name): if pkey_name == column_name: run_pos += 1 - if column_name == 'id': - conf += '\tsql_attr_bigint = '+column_name+"\n" - else: - conf += '\tsql_attr_bigint = '+"id\n" - conf += '\tsql_attr_bigint = '+column_name+"\n" + conf += '\tsql_attr_bigint = '+column_name+"\n" continue if mw.inArray(['enum'], data_type):