class CreateInactiveFriendships < ActiveRecord::Migration[4.2]
  def change
    create_table :inactive_friendships, 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
