Sha256: 83e40d3efb978e36d79f9c7f6983393484b4868f21688b34d932ca1a6dce65ce
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
class CreateAttachments < ActiveRecord::Migration def self.up create_table :attachments do |t| t.string :content_type, :name, :filename, :alternative, :thumbnail, :type t.integer :height, :width, :size t.belongs_to :parent, :person t.timestamps end end def self.down drop_table :attachments end end
Version data entries
6 entries across 6 versions & 1 rubygems