marktopper/doctrine-dbal-timestamp-type
Fork: 9 Star: 48 (更新于 2024-11-15 01:44:14)
license: MIT
Language: PHP .
Add the timestamp type for Doctrine/DBAL
最后发布版本: v1.1.0 ( 2023-02-04 03:41:52)
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.
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.
Installation
composer require marktopper/doctrine-dbal-timestamp-type
Then add the type to Doctrine\DBAL
:
\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:
MarkTopper\DoctrineDBALTimestampType\Laravel5ServiceProvider::class,
最近版本更新:(数据更新于 2024-10-12 12:27:05)
2023-02-04 03:41:52 v1.1.0
2020-05-04 18:12:37 v1.0.3
2018-11-11 17:54:53 v1.0.2
2016-11-28 20:43:25 v1.0.1
2016-11-25 00:26:07 v1.0.0
marktopper/doctrine-dbal-timestamp-type同语言 PHP最近更新仓库
2024-11-20 23:58:25 laravel/framework
2024-11-20 18:39:23 danielmiessler/SecLists
2024-11-16 21:54:23 w7corp/easywechat
2024-11-16 04:49:03 coollabsio/coolify
2024-11-13 23:19:14 symfony/symfony
2024-11-13 22:53:21 symfony/var-dumper