aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-08 12:31:13 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-08 12:31:13 +0000
commitc4e88da59a813fcce74b49f70afa58ff58e1cb52 (patch)
treee4547d2b4eb78251b7bf010686e508645a91f32f /db
parenta1ecf764785a6884380da1ed4b3470a6ea76751c (diff)
Correct parameter order
Diffstat (limited to 'db')
-rw-r--r--db/migrate_from_osgb36_to_wgs84.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate_from_osgb36_to_wgs84.pl b/db/migrate_from_osgb36_to_wgs84.pl
index 8f711e232..0861659a0 100644
--- a/db/migrate_from_osgb36_to_wgs84.pl
+++ b/db/migrate_from_osgb36_to_wgs84.pl
@@ -176,7 +176,7 @@ sub migrate_alert_table {
# update query
my $update_lat_lon_query = $dbh->prepare( #
- "UPDATE alert SET parameter = ?, parameter2 = ?, is_migrated = true"
+ "UPDATE alert SET parameter2 = ?, parameter = ?, is_migrated = true"
. " WHERE id = ?"
);