Sha256: 1d0c0a53e899cf152742b7da0165141175663600f24d2013c7341cc58a434e9b
Contents?: true
Size: 379 Bytes
Versions: 5
Compression:
Stored size: 379 Bytes
Contents
class CreateAttachments < ActiveRecord::Migration create_table :attachments do |t| t.references :attachable ,:polymorphic => {:default => 'Page'} t.string :name t.string :file t.string :content_type t.string :original_filename t.string :description t.string :secure_token t.integer :file_size t.integer :position t.timestamps end end
Version data entries
5 entries across 5 versions & 1 rubygems