Skip to content

pgsql: empty dates and bigints #1237

@SaschaKoth

Description

@SaschaKoth

Hi,

another little problem in pgsql driver.

When we use dates or bigints, empty values ('') causes Exceptions. This is because the framework interprets this types as strings and set this as db value.

  1. bigint
    In pgsql\Schema.php an item on $typeMap for 'int8' is missing
  2. date
    In db\Schema.php an item on $typeMap for 'date' is missing (in method getColumnPhpType($column)

Thanks
Sascha

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions