class CreateAssets < ActiveRecord::Migration def self.up create_table :assets, :force => true do |t| t.string :title # For paperclip t.column :attachment_file_name, :string t.column :attachment_content_type, :string t.column :attachment_file_size, :integer t.column :attachment_updated_at, :datetime t.timestamps end end def self.down drop_table :assets end end