diff --git a/src/sql/migrations/down/0003.sql b/src/sql/migrations/down/0003.sql new file mode 100644 index 0000000..c796c1b --- /dev/null +++ b/src/sql/migrations/down/0003.sql @@ -0,0 +1,3 @@ +BEGIN; +ALTER table `profile` DROP KEY `tags`; +COMMIT; diff --git a/src/sql/migrations/up/0004.sql b/src/sql/migrations/up/0004.sql new file mode 100644 index 0000000..ac3edca --- /dev/null +++ b/src/sql/migrations/up/0004.sql @@ -0,0 +1,3 @@ +BEGIN; +ALTER table `profile` ADD FULLTEXT KEY `tags` (`tags`); +COMMIT;