commit/galaxy-central: rc: Fix to support older postgres versions (<8.3) which does not support 'alter sequence'.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/b2b7be6597c6/ changeset: r4982:b2b7be6597c6 user: rc date: 2011-02-02 22:21:23 summary: Fix to support older postgres versions (<8.3) which does not support 'alter sequence'. affected #: 1 file (3 bytes) --- a/lib/galaxy/model/migrate/versions/0068_rename_sequencer_to_external_services.py Wed Feb 02 15:07:14 2011 -0500 +++ b/lib/galaxy/model/migrate/versions/0068_rename_sequencer_to_external_services.py Wed Feb 02 16:21:23 2011 -0500 @@ -102,7 +102,7 @@ return # if running postgres then rename the primary key sequence too if migrate_engine.name == 'postgres': - cmd = "ALTER SEQUENCE sequencer_id_seq RENAME TO external_service_id_seq" + cmd = "ALTER TABLE sequencer_id_seq RENAME TO external_service_id_seq" db_session.execute( cmd ) # rename 'sequencer_type_id' column to 'external_service_type_id' in the table 'external_service' # create the column as 'external_service_type_id' Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket