Skip to content

Tag all id fields as been auto-increment - #12

Open
eseyman wants to merge 1 commit into
FormFu:masterfrom
eseyman:testdb_autoincrement
Open

eseyman wants to merge 1 commit into
FormFu:masterfrom
eseyman:testdb_autoincrement

Conversation

@eseyman

@eseyman eseyman commented Oct 18, 2026

Copy link
Copy Markdown

Test output is full of lines like:
"DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on Master - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/default_values/has_one_nested.t line 23"

Marking the 'id' colums in the test database makes these warnings go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant