Sha256: 6e62f99149fe9746ced65aa17248a9f14b8843418be38a199bc6f973d7ed2c81

Contents?: true

Size: 274 Bytes

Versions: 8

Compression:

Stored size: 274 Bytes

Contents

class RenameGoGamificationTasksToGoals < ActiveRecord::Migration[5.1]
  def change
        rename_table :gamification_tasks, :gamification_goals
    rename_column :gamification_rewards, :task_id, :goal_id
    rename_column :gamification_medals, :task_id, :goal_id
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
go_gamification-0.0.20 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.19 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.18 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.17 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.16 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.15 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.14 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb
go_gamification-0.0.13 db/migrate/20171020182248_rename_go_gamification_tasks_to_goals.rb