hicknhack-software/redmine_time_tracker — pull request #1 by denispeplin (2012-07-04 06:15:02+00:00)
Title: Fix rollbacks

```
~/redmine$ rake db:migrate:plugin NAME=redmine_time_tracker VERSION=0
Migrating redmine_time_tracker (Redmine Time Tracker plugin)...
== CreateVirtualComments: reverting ==========================================
-- drop_table(:virtual_comments)
-> 0.0304s
== CreateVirtualComments: reverted (0.0306s) =================================

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

PG::Error: ERROR: column "virtual" of relation "time_bookings" already exists
: ALTER TABLE "time_bookings" ADD COLUMN "virtual" boolean DEFAULT 'f'

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