is there a way to skip this DROP with prepare db? ...
# kolide
v
is there a way to skip this DROP with prepare db? 2020/05/11 100700 FAIL 20191010155147_UpdateTableHostsSearchIndex.go (drop old index: Error 1091: Can't DROP 'hosts_search'; check that column/key exists), quitting migration.
z
No, but maybe you can add the index before running the migration?
v
do you know how this index is done by kolide? just to not messup with the table 🙂
I would try
CREATE FULLTEXT INDEX hosts_search ON hosts(host_name)
and then run the migration again.
As always, very good idea to backup before running migrations.
v
yes, already did it, thanks