hkoba / yatt_lite

YATT::Lite - Template with "use strict"
Other
5 stars 0 forks source link

Fix DBIC autoincrement handlings #199

Closed hkoba closed 3 years ago

hkoba commented 3 years ago

t/dbschema_dbic.t generates errors with recent DBIC, like following:

DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'author_id' on Author
 - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()?
 Treating 'author_id' implicitly as an autoinc, and attempting value retrieval at t/dbschema_dbic.t line 61