remove console.log statement
state -> archived_at
add synthetic column
update code to work with archivedAt instead of state field