2016-06-16 23:09:34 +05:30
|
|
|
# rubocop:disable all
|
2015-04-26 12:48:37 +05:30
|
|
|
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
|