On Dienstag, 2. Mai 2017, 11:41:17 CEST wrote Christian:
Am 07.04.2017 um 10:46 schrieb Evan Rolfe:
Updaters need to adapt their repository channels and should read the README.UPDATERS file which comes with this version. running into update issue:
== 20170118091131 AddReviewIdToReview: migrating ============================== -- add_reference(:reviews, :review, {:index=>true, :foreign_key=>true}) -> 4.9735s == 20170118091131 AddReviewIdToReview: migrated (4.9736s) =====================
== 20170123115500 RemoveDuplicateIndexes: migrating =========================== -- execute("ALTER TABLE `attrib_namespace_modifiable_bies` DROP INDEX `index_attrib_namespace_modifiable_bies_on_attrib_namespace_id`;") -> 0.3035s -- execute("ALTER TABLE `attrib_types` DROP INDEX `attrib_namespace_id`;") rails aborted! StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Can't DROP 'attrib_namespace_id'; check that column/key exists: ALTER TABLE `attrib_types` DROP INDEX `attrib_namespace_id`; /srv/www/obs/api/db/migrate/20170123115500_remove_duplicate_indexes.rb:32:in `up' bin/rails:4:in `require' bin/rails:4:in `<main>' ActiveRecord::StatementInvalid: Mysql2::Error: Can't DROP 'attrib_namespace_id'; check that column/key exists: ALTER TABLE `attrib_types` DROP INDEX `attrib_namespace_id`; /srv/www/obs/api/db/migrate/20170123115500_remove_duplicate_indexes.rb:32:in `up' bin/rails:4:in `require' bin/rails:4:in `<main>' Mysql2::Error: Can't DROP 'attrib_namespace_id'; check that column/key exists /srv/www/obs/api/db/migrate/20170123115500_remove_duplicate_indexes.rb:32:in `up' bin/rails:4:in `require' bin/rails:4:in `<main>' Tasks: TOP => db:migrate (See full trace by running task with --trace)
########## #1553 - Kann Index 'index_attrib_types_on_attrib_namespace_id_and_name' nicht löschen: wird für eine Fremdschlüsselbeschränkung benötigt
need help please
Did you solved this meanwhile? It should be save to comment out the drop in the migration. It should have existed, but it is gone now anyway... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org