Subject: | Column gen_from_id forced to accept nulls |
The hash returned by sub extract_meta() is missing the key/value pair
gen_from_id => 0.
This means it is not passed in to sub store_meta(), which means it is
not part of the generated SQL.
So, if the column is declared by the caller to be
gen_from_id integer not null
the SQL execute dies because that column is not populated.
I call the column parent_id, so I get this error:
null value in column "parent_id" violates not-null constraint.