aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-14 15:02:31 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-14 15:02:31 +0100
commit4314930e68ba48bef78be308020f626cee3f09b5 (patch)
tree333c6e3c57795d943d78f8f45a6bc4d671ec44e2
parentd279ce04462a16209337a6988f47bba9b7cb20e4 (diff)
Include schema migration test.
This was missed in 0998aef4.
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index a27bbbba1..3f86bdacb 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -212,6 +212,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 '0055' if column_exists('response_priorities', 'is_default');
return '0054' if table_exists('state');
return '0053' if table_exists('report_extra_fields');
return '0052' if table_exists('translation');