Sha256: 33ca2ee5d33044a24263d513959d8e5423be47200c0b7fce0fda3a3d4c942bba

Contents?: true

Size: 173 Bytes

Versions: 1

Compression:

Stored size: 173 Bytes

Contents

class CreateDocuments < ActiveRecord::Migration
  def change
    create_table :documents do |t|
      t.references :user, :null => true 
      t.attachment
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_attachments-0.1.1 test/db/migrate/3_create_documents.rb