a value for template_id isn't required to make a database obj

The SQLite schema must have been incorrect and had a NOT NULL constraint
there.