details: http://www.bx.psu.edu/hg/galaxy/rev/a8234f4d7012 changeset: 3125:a8234f4d7012 user: rc date: Mon Nov 30 09:35:21 2009 -0500 description: Fix for request_events table migration script for MySQL & sqlite diffstat: lib/galaxy/model/migrate/versions/0027_request_events.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diffs (16 lines): diff -r 341d7c1c5c9a -r a8234f4d7012 lib/galaxy/model/migrate/versions/0027_request_events.py --- a/lib/galaxy/model/migrate/versions/0027_request_events.py Mon Nov 30 09:05:28 2009 -0500 +++ b/lib/galaxy/model/migrate/versions/0027_request_events.py Mon Nov 30 09:35:21 2009 -0500 @@ -73,9 +73,10 @@ "%s AS create_time," + \ "%s AS update_time," + \ "request.id AS request_id," + \ - "request.state AS state " + \ + "request.state AS state," + \ + "'%s' AS comment " + \ "FROM request;" - cmd = cmd % ( nextval('request_event'), localtimestamp(), localtimestamp() ) + cmd = cmd % ( nextval('request_event'), localtimestamp(), localtimestamp(), 'Imported from request table') db_session.execute( cmd ) # Delete the state column