2017 © Pedro Peláez
 

package doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

image

marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

  • Monday, November 28, 2016
  • by marktopper
  • Repository
  • 1 Watchers
  • 17 Stars
  • 35,113 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 16 % Grown

The README.md

Doctrine/DBAL Timestamp Type

Since Doctrine/DBAL does not support the MySQL Timestamp type, you might want to add it on your own using this package., (*1)

Why using this?

According to this issue, Doctrine/DBAL does not support MySQL-specific database types like this one. Therefor we must add it ourself., (*2)

Installation

composer require marktopper/doctrine-dbal-timestamp-type

Then add the type to Doctrine\DBAL:, (*3)

\Doctrine\DBAL\Types\Type::addType('timestamp', 'MarkTopper\DoctrineDBALTimestampType\TimestampType');

Laravel 5

You can use the Laravel Provider to ensure that the type is added to Doctrine\DBAL by adding the following to providers:, (*4)

MarkTopper\DoctrineDBALTimestampType\Laravel5ServiceProvider::class,

The Versions

28/11 2016

dev-master

9999999-dev

Add the timestamp type for Doctrine/DBAL

  Sources   Download

MIT

The Requires

 

database laravel doctrine dbal mysql timestamp

28/11 2016

v1.0.1

1.0.1.0

Add the timestamp type for Doctrine/DBAL

  Sources   Download

MIT

The Requires

 

database laravel doctrine dbal mysql timestamp

28/11 2016

dev-fix-1

dev-fix-1

Add the timestamp type for Doctrine/DBAL

  Sources   Download

MIT

The Requires

 

database laravel doctrine dbal mysql timestamp

24/11 2016

v1.0.0

1.0.0.0

Add the timestamp type for Doctrine/DBAL

  Sources   Download

MIT

The Requires

 

database laravel doctrine dbal mysql timestamp