diff --git a/src/sql/migrations/down/0007.sql b/src/sql/migrations/down/0007.sql new file mode 100644 index 0000000..54afcf3 --- /dev/null +++ b/src/sql/migrations/down/0007.sql @@ -0,0 +1,4 @@ +BEGIN; +ALTER TABLE `profile` DROP KEY `profile-ft`; +ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `profile_url`, `locality`, `region`, `country`); +COMMIT; \ No newline at end of file diff --git a/src/sql/migrations/up/0008.sql b/src/sql/migrations/up/0008.sql new file mode 100644 index 0000000..74bf350 --- /dev/null +++ b/src/sql/migrations/up/0008.sql @@ -0,0 +1,4 @@ +BEGIN; +ALTER TABLE `profile` DROP KEY `profile-ft`; +ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `username`, `locality`, `region`, `country`); +COMMIT;