Sha256: de6a8da9157f8ef36837ff7cd79c842f1ccac687b8cc5d233a7bfa3db5b06ff8

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

class CreateAttachments < ActiveRecord::Migration
  def change
    create_table :attachments do |t|
      t.string :name, length: 64, null: false
      t.string :mime_type, length: 64, null: false
      t.integer :size, null: false
      t.binary :data, null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
binary_fixtures-0.1.3 test/migrations/001_create_attachments.rb