Skip to content

[NFR] Add type time to column types #12223

Closed
@ruudboon

Description

class Phalcon\Db\Column implements ColumnInterface
{
    const TYPE_INTEGER = 0;
    const TYPE_DATE = 1;
    const TYPE_VARCHAR = 2;
    const TYPE_DECIMAL = 3;
    const TYPE_DATETIME = 4;
    const TYPE_CHAR = 5;
    const TYPE_TEXT = 6;
    const TYPE_FLOAT = 7;
    const TYPE_BOOLEAN = 8;
    const TYPE_DOUBLE = 9;
    const TYPE_TINYBLOB = 10;
    const TYPE_BLOB = 11;
    const TYPE_MEDIUMBLOB = 12;
    const TYPE_LONGBLOB = 13;
    const TYPE_BIGINTEGER = 14;
    const TYPE_JSON = 15;
    const TYPE_JSONB = 16;
    const TYPE_TIMESTAMP = 17;
}

Currently the type time is missing from Phalcon\Db\Column causing issues when doing migration with the phalcon dev tools when having a mysql time field in place. Would be great if we can add this type so we can solve this related issue: phalcon/phalcon-devtools#308

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions