Step 1: Using the cosine rule in the triangle.
For any triangle,
\[
c^2 = a^2+b^2-2ab\cos C
\]
Substitute the given values:
\[
a=1,\qquad b=\sqrt3,\qquad C=\frac{\pi}{6}=30^\circ
\]
Therefore,
\[
c^2
=
1^2+(\sqrt3)^2-2(1)(\sqrt3)\cos30^\circ
\]
Now simplify step-by-step:
\[
1^2=1
\]
and
\[
(\sqrt3)^2=3
\]
Also,
\[
\cos30^\circ=\frac{\sqrt3}{2}
\]
Substituting:
\[
c^2
=
1+3-2\sqrt3\left(\frac{\sqrt3}{2}\right)
\]
The \(2\) cancels:
\[
c^2
=
4-\sqrt3\cdot\sqrt3
\]
Since,
\[
\sqrt3\cdot\sqrt3=3
\]
we get:
\[
c^2=4-3
\]
\[
c^2=1
\]
Taking positive square root because side length is positive:
\[
c=1
\]
Hence,
\[
\boxed{c=1}
\]