9 lines
280 B
Ruby
9 lines
280 B
Ruby
class RenameBuildboxService < ActiveRecord::Migration[4.2]
|
|
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
|