Project

General

Profile

Download (289 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddAttributesToComputeResources < ActiveRecord::Migration
def up
add_column :compute_resources, :attrs, :text unless column_exists? :compute_resources, :attrs
end

def down
remove_column :compute_resources, :attrs if column_exists? :compute_resources, :attrs
end
end
(118-118/281)