Revert "migrate"

This reverts commit 3a65109e2227f924b939fadd80a901e47d6492da.

the type needs to be text, not string - in order for the set operations
to work in postgres