Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

Default database value #4

@qurben

Description

@qurben

It is currently not possible to set a default value for a column in the database. There is a check in place in https://github.com/csrdelft/orm/blob/master/src/Persistence/DatabaseAdmin.php#L159 which checks the database for the default value. The default value is always null according to the orm.

PersistentAttribute already has some logic for supporting default values, reading from the class is not available yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions