2016-06-09 08:39:16 -04:00
|
|
|
# rubocop:disable all
|
2015-04-11 14:02:44 -04:00
|
|
|
class RenameBuildboxService < ActiveRecord::Migration
|
|
|
|
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
|