removed not null constraing from circuit_type