10 lines
170 B
Ruby
10 lines
170 B
Ruby
class AddModelToAssets < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :assets, :model, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :assets, :model
|
|
end
|
|
end
|