Update schema.sql

Updated schema to include encodestatus type definition.