Start using EnumCol for some columns

Migrates the database
Make the necessary adjustments to make it work with enum

Change-Id: Icd21dcf8b390348ea4ab0976ab7f43b5306480d7