Sha256: d5d252242b1e7c852e06b515f1fbc885a3c882c582d496c74c066b40228b853b

Contents?: true

Size: 170 Bytes

Versions: 1

Compression:

Stored size: 170 Bytes

Contents

class CreateAvatars < ActiveRecord::Migration
  def change
    create_table :avatars 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/2_create_avatars.rb