Sha256: c2963ada5463ca303259ecee38ab614a460d72e27c4d83c92ad469c6f1779888

Contents?: true

Size: 277 Bytes

Versions: 49

Compression:

Stored size: 277 Bytes

Contents

class CreateAttachments < ActiveRecord::Migration
  def change
    create_table :attachments do |t|
      t.string :filename
      t.string :content_type
      t.integer :size
      t.string :attachable_type
      t.integer :attachable_id

      t.timestamps
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
tawork-0.0.29 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.28 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.27 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.26 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.25 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.24 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.23 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.22 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.21 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.20 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.19 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.18 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.17 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.16 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.15 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.14 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.13 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.12 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.11 db/migrate/20140112004346_create_attachments.rb
tawork-0.0.10 db/migrate/20140112004346_create_attachments.rb