Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: [HELP] : Failed to execute query: 'ALTER TABLE glinks_Category CHANGE: Edit Log

Here is the list of edits for this post
[HELP] : Failed to execute query: 'ALTER TABLE glinks_Category CHANGE
Hello,

I thought I was doing this right, however perhaps not. Can you please help me with this?

Ideally I am wanting to set 'index' as default condition for category-field-property 'seo-index' , as based on this value, I will dynamically add index and noindex tags in the page header.

However when I try to use ENUM property & set index as default, it is giving me following error:

Failed to execute query: 'ALTER TABLE glinks_Category CHANGE seo_index seo_index ENUM('index','noindex') DEFAULT 'index' NOT NULL': Data truncated for column 'seo_index' at row 1

I have attached screen-shot for reference purposes.

Thanks.

Vishal
-------------------------------------------------------

Last edited by:

VishalT: Jun 30, 2021, 1:32 AM

Edit Log: