diff options
author | Jon Kristensen <info@jonkri.com> | 2014-03-01 23:10:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-03-11 17:32:55 +0000 |
commit | c44317e640cfe9dd766f09598873d8b96db2414a (patch) | |
tree | b6c20473440f452399dd137412757186d9165591 /bin/update-schema | |
parent | cf20c709e13af0909620ac5387b7d070b66b8c52 (diff) |
Add `external_url' column to `body' table.
Diffstat (limited to 'bin/update-schema')
-rw-r--r-- | bin/update-schema | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema index f728f8c56..198fa6b8d 100644 --- a/bin/update-schema +++ b/bin/update-schema @@ -84,6 +84,7 @@ print "Nothing to do\n" if $nothing; # By querying the database schema, we can see where we're currently at # (assuming schema change files are never half-applied, which should be the case) sub get_db_version { + return '0031' if column_exists('body', 'external_url'); return '0028' if table_exists('body'); return '0027' if column_exists('problem', 'subcategory'); return '0026' if column_exists('open311conf', 'send_extended_statuses'); |