Hi, some how I got rows which had NULL in polymorphic_ctype_id. AFAIK this makes no sense. Why not make a non null constraint on this column? What do you think?