2018-11-13 07:27:31 +00:00
|
|
|
class RenameBuildboxService < ActiveRecord::Migration[4.2]
|
2015-04-11 18:02:44 +00:00
|
|
|
def up
|
|
|
|
execute "UPDATE services SET type = 'BuildkiteService' WHERE type = 'BuildboxService';"
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
execute "UPDATE services SET type = 'BuildboxService' WHERE type = 'BuildkiteService';"
|
|
|
|
end
|
|
|
|
end
|