Sha256: 4b14e0921246153cfced988fce3d1ce161ac293e6d4b3de9e253ac70b48f229d
Contents?: true
Size: 351 Bytes
Versions: 7
Compression:
Stored size: 351 Bytes
Contents
class CreateAttachment < ActiveRecord::Migration def self.up create_table :attachments, :force => true do |t| t.string :attached_file_name, :attached_content_type t.integer :attached_file_size t.references :attacher, :polymorphic => true t.timestamps end end def self.down drop_table :attachments end end
Version data entries
7 entries across 7 versions & 1 rubygems