Sha256: aa00d66eabbd50c59e549d2e5784989cbb9e8cd8b5a25e2b131bc7048bd96822
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
# This migration comes from flyboy (originally 20150525081421) class TasksBelongsToTaskable < ActiveRecord::Migration def change rename_column :flyboy_tasks, :goal_id, :taskable_id add_column :flyboy_tasks, :taskable_type, :string Flyboy::Task.update_all(taskable_type: Flyboy::Goal) end end
Version data entries
3 entries across 3 versions & 1 rubygems