Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
[opensuse-buildservice] rake db:migrate failures

Hi all,

The OBS 2.3.9x unstable packages seem to come with some issues in the rake db:migration code.

There is a collection of 6 files that I need to 'skip', as they fail with different errors.

the files are (all rather old):
20111116100002_alter_issue_trackers.rb
20111206151500_kernel_issue_tracker_regexp.rb
20120120104301_disable_switch_per_issue_tracker.rb
20120120114301_fix_bnc_url.rb
20120216114303_rename_issue_table_columns.rb
20120319104301_disable_all_issue_trackers.rb

And the respective errors are:

20111116100002_alter_issue_trackers.rb
######################################

-- change_table(:issue_trackers)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: Duplicate column name 'kind': ALTER TABLE `issue_trackers` ADD `kind` ENUM('bugzilla', 'cve', 'fate', 'trac', 'launchpad', 'sourceforge') AFTER `name`

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

20111206151500_kernel_issue_tracker_regexp.rb
#############################################

== KernelIssueTrackerRegexp: migrating =======================================
rake aborted!
An error has occurred, all later migrations canceled:

undefined method `regex=' for nil:NilClass

Tasks: TOP => db:migrate

20120120104301_disable_switch_per_issue_tracker.rb
##################################################

rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: Duplicate column name 'enable_fetch': ALTER TABLE `issue_trackers` ADD `enable_fetch` bool DEFAULT 0

Tasks: TOP => db:migrate

20120120114301_fix_bnc_url.rb
#############################
rake aborted!
An error has occurred, all later migrations canceled:

undefined method `url=' for nil:NilClass

Tasks: TOP => db:migrate


20120216114303_rename_issue_table_columns.rb
############################################
rake aborted!
An error has occurred, all later migrations canceled:

No such column: issues.description

Tasks: TOP => db:migrate

20120319104301_disable_all_issue_trackers.rb
############################################

rake aborted!
An error has occurred, all later migrations canceled:

undefined method `enable_fetch=' for nil:NilClass

Tasks: TOP => db:migrate


====>
Some of them are probably follow up errors, but none of them should happen..

Best regards,
Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups