Skip to content

handling of db columns that have database specified default  #124

@rmallah

Description

@rmallah

Hi ,
This is about DBIx backend.

In case a table column has default value specified at DB level
and we do not specify that column in the item to be created ,
still Yancy seems to be attempting to specify that item while inserting
into database.

This is problematic specially when the default value is a function
in such case Yancy is attempting to insert it as the function definition
body.

If it is really working like that , I think Its better to leave the handling of
DB defaults to DB itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions