Hello All,
I was trying to index some fields with Fulltext search feature from MySQL database.
The table creation from Chronoforms does not let me create indexes on the specified fields.
The SQL command I used is:
gives me an error:
For testing this possibility offered by MySQL, I created another table manually outside of the control of Joomla/Chronoforms within phpmyadmin SQL command and alter my table for creating Fulltext index with the same command above. This works fine.
But I did not test it, if it will work with Chronoforms.
Knowing that my configuration init file is the same for these 2 scenarios (my.cnf --> NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES), I would like to know if any limitation via Chonoforms table creation.
Do you have a smart solution to bypass this issue, to avoid to drop my table and recreate it. Just because I have data inside and also I don't know if this new table with manual creation will work with Chronoforms.
Nota:
MySQL version 5.7.9.
phpmyadmin version 4.5.2
PHP version: 5.5.29 PHP extension: mysqli
Server charset: UTF-8 Unicode (utf8)
Thanks for your help.
Bertrand
I was trying to index some fields with Fulltext search feature from MySQL database.
The table creation from Chronoforms does not let me create indexes on the specified fields.
The SQL command I used is:
ALTER TABLE my_table ADD FULLTEXT INDEX idx_my_column (my_column);
gives me an error:
#1067 - Invalid default value for 'created'
For testing this possibility offered by MySQL, I created another table manually outside of the control of Joomla/Chronoforms within phpmyadmin SQL command and alter my table for creating Fulltext index with the same command above. This works fine.
But I did not test it, if it will work with Chronoforms.
Knowing that my configuration init file is the same for these 2 scenarios (my.cnf --> NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES), I would like to know if any limitation via Chonoforms table creation.
Do you have a smart solution to bypass this issue, to avoid to drop my table and recreate it. Just because I have data inside and also I don't know if this new table with manual creation will work with Chronoforms.
Nota:
MySQL version 5.7.9.
phpmyadmin version 4.5.2
PHP version: 5.5.29 PHP extension: mysqli
Server charset: UTF-8 Unicode (utf8)
Thanks for your help.
Bertrand