Adjust links table schema