InstanceState has two properties, Code and Name. Because this column is updatable (to stop the instance), it would be easier to use basic types. So the state column should be a VARCHAR and state_code might be a separate column or might be dropped altogether.