aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-08-05 15:56:10 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-08-06 20:28:57 +0100
commit7af4f2cc87cd6ff55501bb2856193a03fe72158c (patch)
treee2c1f396bb4a34220379b94d9e25d4671f29b052 /bin
parent21efead606530cb754bb7b54586dbb8c1a1502ca (diff)
Add database index for user full text search.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index 90876cf76..1cfb59f52 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -215,6 +215,7 @@ else {
# (assuming schema change files are never half-applied, which should be the case)
sub get_db_version {
return 'EMPTY' if ! table_exists('problem');
+ return '0074' if index_exists('users_fulltext_idx');
return '0073' if index_exists('problem_fulltext_idx');
return '0072' if constraint_contains('contacts_state_check', 'staff');
return '0071' if table_exists('manifest_theme');