Sha256: 63da63fbe5f0ffded7ef5e7be38b082090c68877bfce8c9a69dd67c23a97ed13
Contents?: true
Size: 389 Bytes
Versions: 7
Compression:
Stored size: 389 Bytes
Contents
class CreateTaskManagerCallables < ActiveRecord::Migration def change create_table :task_manager_callables do |t| t.belongs_to :callback, polymorphic: true t.belongs_to :target, polymorphic: true t.timestamps end add_index :task_manager_callables, [:callback_id, :callback_type] add_index :task_manager_callables, [:target_id, :target_type] end end
Version data entries
7 entries across 7 versions & 1 rubygems