class CreateUnfriendships < ActiveRecord::Migration[4.2]
  def change
    create_table :unfriendships, id: false do |t|
      t.column  :id,       'BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT'
      t.integer :from_uid,  limit: 8, index: true, null: false
      t.integer :friend_uid,limit: 8, index: true, null: false
      t.integer :sequence,                         null: false
    end
  end
end
