mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for request_events table migration script for MySQL & sqlite
This commit is contained in:
@@ -73,9 +73,10 @@ def upgrade():
|
||||
"%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
|
||||
|
||||
Reference in New Issue
Block a user