Sha256: b3ff6e39c2ed86c7e1a74fe79c2141683087ff333f6280bd915eebc7683ae648
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 1 rubygems