From 66dca727a6cacce6875dd8fd81e749797e667e75 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 12 Nov 2018 14:15:51 -0500 Subject: [PATCH] Add missing column in profile fulltext index --- src/sql/migrations/down/0001.sql | 0 src/sql/migrations/up/0002.sql | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 src/sql/migrations/down/0001.sql create mode 100644 src/sql/migrations/up/0002.sql diff --git a/src/sql/migrations/down/0001.sql b/src/sql/migrations/down/0001.sql new file mode 100644 index 0000000..e69de29 diff --git a/src/sql/migrations/up/0002.sql b/src/sql/migrations/up/0002.sql new file mode 100644 index 0000000..85dc9ed --- /dev/null +++ b/src/sql/migrations/up/0002.sql @@ -0,0 +1,2 @@ +ALTER table `profile` DROP INDEX `profile-ft`; +ALTER table `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `profile_url`, `locality`, `region`, `country`, `tags`);