1 class RenameJobStepsToJobTasks < ActiveRecord::Migration
3 rename_table :job_steps, :job_tasks
4 rename_index :job_tasks, :index_job_steps_on_created_at, :index_job_tasks_on_created_at
5 rename_index :job_tasks, :index_job_steps_on_job_uuid, :index_job_tasks_on_job_uuid
6 rename_index :job_tasks, :index_job_steps_on_modified_at, :index_job_tasks_on_modified_at
7 rename_index :job_tasks, :index_job_steps_on_sequence, :index_job_tasks_on_sequence
8 rename_index :job_tasks, :index_job_steps_on_success, :index_job_tasks_on_success
9 rename_index :job_tasks, :index_job_steps_on_uuid, :index_job_tasks_on_uuid
13 rename_index :job_steps, :index_job_tasks_on_created_at, :index_job_steps_on_created_at
14 rename_index :job_steps, :index_job_tasks_on_job_uuid, :index_job_steps_on_job_uuid
15 rename_index :job_steps, :index_job_tasks_on_modified_at, :index_job_steps_on_modified_at
16 rename_index :job_steps, :index_job_tasks_on_sequence, :index_job_steps_on_sequence
17 rename_index :job_steps, :index_job_tasks_on_success, :index_job_steps_on_success
18 rename_index :job_steps, :index_job_tasks_on_uuid, :index_job_steps_on_uuid
19 rename_table :job_tasks, :job_steps