diff options
author | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-05-05 01:08:56 +0000 |
---|---|---|
committer | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-05-05 01:08:56 +0000 |
commit | 229caaf692a5602ad90c841b7ba1ae4bb2811c99 (patch) | |
tree | bcaa6073a93e652afa346c2fb9374bce1d8ed799 | |
parent | 723cbd77686d4155f656d63bfb7fda047e60b561 (diff) |
Updated the 'view=' URL parameter to match new view ID in frontend.
Risk: medium (database changes)
Visibility: medium (UI bug fix)
Signed-off-by: James Ren <jamesren@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@3091 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | tko/migrations/026_fix_saved_graphing_queries.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tko/migrations/026_fix_saved_graphing_queries.py b/tko/migrations/026_fix_saved_graphing_queries.py new file mode 100644 index 00000000..a767a1c2 --- /dev/null +++ b/tko/migrations/026_fix_saved_graphing_queries.py @@ -0,0 +1,10 @@ +UP_SQL = """ +UPDATE saved_queries +SET url_token = REPLACE(url_token, 'view=Metrics+Plot', 'view=metrics_plot'); +""" + +def migrate_up(manager): + manager.execute(UP_SQL) + +def migrate_down(manager): + pass |