Sha256: a4c1a97d70bb990aa58dbe7c9330c1e5559b3d2b4387af018646bb2ddee698a1

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

class CreateActsAsFriendableFriendships < ActiveRecord::Migration
  def change
    create_table :friendships do |t|
      t.integer :user_id
      t.integer :friend_id
      t.boolean :approved

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_friendable-1.0.1 lib/generators/acts_as_friendable/install/templates/friendships.rb
acts_as_friendable-1.0.0 lib/generators/acts_as_friendable/install/templates/friendships.rb