Permalink
Browse files

Fix broken migration.

  • Loading branch information...
1 parent c3353b1 commit 40bcfafaae0faaa9f943e4e95321c6d80599506a @kaleworsley committed Mar 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 db/migrate/20111222091607_migrate_task_id_to_timetrackable_on_timeslices.rb
@@ -1,5 +1,6 @@
class MigrateTaskIdToTimetrackableOnTimeslices < ActiveRecord::Migration
def self.up
+ Timeslice.reset_column_information
Timeslice.find(:all).each do |t|
t.timetrackable_id = t.task_id
t.timetrackable_type = 'Task'

0 comments on commit 40bcfaf

Please sign in to comment.