Sha256: a9a4117cd172719c7250616cd45e4ece94d5a3fa9dbcbd9b58b13eb3a8c8cef3
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 Bytes
Contents
class CreateAttachments < ActiveRecord::Migration def change create_table :attachments do |t| t.string :title t.string :data_file_name t.string :data_content_type t.integer :data_file_size t.datetime :data_updated_at t.references :attachable, :polymorphic => {:default => 'Page'} t.timestamps end end end
Version data entries
7 entries across 7 versions & 1 rubygems