Fixes #386 and #273 - altered column type to text