Add enum fields

Adds enum restrictions to some fields on tasks and task_definitions. Also migrated the columns. The database needs to be reseeded to populate this data correctly.