```ruby
class CreateFriendships < ActiveRecord::Migration[5.0]
  def change
    create_table :friendships do |t|

      t.timestamps
    end
  end
end
```

Add columns for friendships migration table
user
```ruby
class CreateFriendships < ActiveRecord::Migration[5.0]
  def change
    create_table :friendships do |t|
      t.integer :user_id
      t.integer :friend_id
      t.string :status

      t.timestamps null: false
    end
  end
end
```
assistant