Project

General

Profile

Haltr plugin installation problem

Added by Pawel Orzechowski almost 13 years ago

Hi,

I am trying to install haltr plugin (http://www.redmine.org/plugins/haltr) following instructions on https://github.com/descala/haltr#readme.

Unfortunately running "rake db:migrate:plugins RAILS_ENV=production" gives me an error.

root@RedMine01:/usr/share/redmine/vendor/plugins/haltr# rake  db:migrate:plugins RAILS_ENV=production
(in /usr/share/redmine)
Migrating plugin chiliproject_invoice ...
Migrating plugin edavis10-redmine-customer-plugin-c263786 ...
Migrating plugin extended_profile ...
Migrating plugin haltr ...
==  AddImportInCentsToInvoice: migrating ======================================
-- add_column(:invoices, :import_in_cents, :integer)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql::Error: Table 'redmine_default.invoices' doesn't exist: ALTER TABLE `invoices` ADD `import_in_cents` int(11)

(See full trace by running task with --trace)
root@RedMine01:/usr/share/redmine/vendor/plugins/haltr#

Any ideas? I thought that plugin migration should create invoices table.

Regards

Pawel