collab/db/migrate/20100316041104_create_assets.rb
2010-03-16 00:37:29 -04:00

13 lines
205 B
Ruby

class CreateAssets < ActiveRecord::Migration
def self.up
create_table :assets do |t|
t.polymorphic :assetable
t.timestamps
end
end
def self.down
drop_table :assets
end
end