From 5d9576a00bc84ebfb2df15fff473a9a5d2e8deaf Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 29 Jul 2025 11:50:02 +0200 Subject: [PATCH] New : add country_code in attribut --- sql/upgrade.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sql/upgrade.sql b/sql/upgrade.sql index d68c5b531..7c0cda756 100644 --- a/sql/upgrade.sql +++ b/sql/upgrade.sql @@ -222,4 +222,6 @@ insert into country_code_ref values ('AF',' Afghanistan'), ('VN',' Vietnam'), ('YE',' Yemen'), ('ZM',' Zambia'), -('ZW',' Zimbabwe'); \ No newline at end of file +('ZW',' Zimbabwe'); + +insert into attr_def (ad_id,ad_text,ad_type,ad_size,ad_search_followup,ad_default_order, ad_extra) values(57,'Code pays','select',20,1,15,'select cc_code,format(''%s %s'',cc_code,cc_name) from country_code_ref order by 1');