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`);