Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 396 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 396 Bytes

doctrine-type-tinyint

Doctrine custom type for MySQL tinyint. Support length.

Usage

for symfony

doctrine:
  dbal:
    types:
      tinyint: Kalibora\DoctrineType\TinyintType
<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

class Foo
{
    /**
     * @ORM\Column(type="tinyint", length=3)
     */
    private $status;
}