Sha256: 6ab6a742aaf10acf710ed09db0fde49e08f4b5800ee5af4e51645a2c8f9da915
Contents?: true
Size: 352 Bytes
Versions: 9
Compression:
Stored size: 352 Bytes
Contents
class CreateAttachments < 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
9 entries across 9 versions & 1 rubygems